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.
missing Promise.nodeify() added
business-rules-engine - new typings
business-rules-engine - fix name at declare modules
typings header added
retype q.d.ts to Q.d.ts
Added emit function  to Dropzone

See the docs for some [examples using emit](https://github.com/enyo/dropzone/wiki/FAQ#how-to-show-files-already-stored-on-server)
I can't find any other usage so this covers the two events that I am aware of: `addedfile` and `thumbnail`
Tightened up the ILocationService typings a little
Fixed merge conflict
Rearranged the order of the methods and properties in this definition, to be consistent with the original JS code.
Modified the test code.
augmented scope, fix implicit any tests
Working on hapi.d.ts
I have no idea how to do union types for properties
and how to use node modules
Fixes for createServer
Fixes for ember
remove changes that are not really changes