Add debounce to search

Currently, the search triggers an ajax request on every keypress which is time/resource consuming. It feels the app is not responsive while searching. It would be much better if there is a denounce set on while searching on every keypress for about 300ms.