Quick search code cleanup and tests

I updated django-selectable to the latest version, DRYed up the quick search code, and updated the associated tests.