Fixed global search autocomplete not disappearing

I’ve fixed the autocomplete not disappearing on focus lost. I also
fixed problems with modules so now testing is possible. #7
Merge pull request #11 from cmcnamara87/global-search-dismiss-on-focus-lost

Fixed global search autocomplete not disappearing. Closes #7