Improve autocomplete

Improved caching.
Improved ajax error handling
Add predictive text functionality

Same code now for bootstrap / non-bootstrap - one set of files can be
removed when php code is changed to use autocomplete.js on J3.
Add Autocomplete error message