Feature: add close & open in typeahead plugin 

Changes: 
* add close & open method in the plugin
* add unit test to typeahead.js

@alexlande @ryan-roemer