Add Typeahead lib to the project

Use twitter typeahead lib to instead the front-end filtering, add
end-point to api for the autocomplete.