Updated support for the latest typeahead plugin
Added easy support for "local", "prefetch" and "remote" options
Customizable templates and function-driven lookup