NEW allow customisation of raw field class
NEW allow customisation of autofill input
NEW set your own record formatter

Used when you want to deviate from the standard toAutocompleteMap function.
NEW JS: work around typeahead value setting

The raw field key should take precedence over the display key when entering the data into the field
escaping user input so searches with regex chars work
Broadcast autocomplete:selected event
Switch typeaheadOptions out for datasetOptions
Prevent double change issue on enter key
Scope - set $ to jQuery (enclosure etc)
Exclude all non-control characters from clearing the record field
Don't set field value if no record
Destroy autocompletefield if needed
Adding some basic caching capabilities