added delay around search query

This cuts down on the number of queries that are sent for every
single KEYUP that happens.  It will wait 500msec between keypresses
to dispatch the AJAX search request.