Rework autocomplete component so it sucks less

[Closes #51]
Merge pull request #55 from gschorkopf/killpack/typeahead_bug

Rework autocomplete component so it sucks less