renamed `setQuery` to `val`

Correct me if I'm wrong but I tried the examples and got stuck using the suggested `setQuery` method from typeahead.js to close the suggestion box. During my research I stumpled upon a stackoverflow question which pointed me to the right direction to use the `val` method which closes the suggestion box correctly.