autocomplete results should be ordered like search results

Of course I did this by making search and autocomplete call the same
basic functions. Fixes #34.
Tests for search auto complete results.
Merge branch '34-autocomplete-result-order' into devel

Fixes #34
Merge pull request #4 from solarpermit/devel

update personal fork to devel