Full typeahead implementation

also adds handlebars.js and typeahead
remove tools stuff from the autocomplete branch
remove tools from autocomplete
templates and api handlers
tools merge