Testing out using new tables for word queries on heroku.
Added cert file from amazon.
Tidied up autocompleting.
Fixed previous commit.
Added newrelic and changed heroku server to puma.
Changed puma config to use more threads.
Puma max thread to 8.
Puma max threads back to 5.
Added ordering to autocomplete.
Hooked out the front end to the new heroku app.
Fixed bug when someone searches for a word and it isn't found.
Removed unused tables and renamed existing ones.
Added parameter to search for only defined words (used defined_syllables table).
Refactored angular code somewhat - more to do still, including: replace angular filter for word length with full query to server and pagination of results.
Filtering by length is now a cached request rather than a simple local filter.
Tidied up clearing the syllables. Also updating when changing things via the preset options.
Caching with sessionStorage.
Local caching working - ready to add a 'more' button to the bottom.
Added the more button to expand the results.
Fixed a few minor bugs and added base url as a constant.