Fixed typeahead signatures

- Updated according to official documentation: see
https://github.com/twitter/typeahead.js/blob/master/doc/jquery_typeahead.md
- Added one more test (from official samples)
Updated to typeahead 0.10.4

Updated from 0.9.3 to 0.10.4
API has changed quite a bit. Part of the functionality (prefetch etc)
has been taken out from the core lib, and merged into a new lib called
Bloodhound.
Bloodhound still has to be ts-ed.
Fixed Tests for Typeahead
Updated History JS

Upgraded to version 1.8, which is now community supported.
Fixed merge conflict
Merge pull request #2516 from gjunge/master

Updated to typeahead 0.10.4