Added auto-prefill from hidden field if a hiddenTagListId option is defined. Also consolidated removed duplicate code into a new 'prefill' function.
Correct spelling delimeter -> delimiter.

(old spelling still works but is deprecated)
Update Typescript
Make API parameter: 'typeaheadDelegate' always pass-through to the Bootstrap typeahead instance. Currently it is mutually exclusive with AJAX options
Reduce complexity of event detection.
- Removes global variables isValid and queuedTag
- pushTag() function now just has one parameter, i.e. "the tag to push"
- Typeahead detection refactored into methods
- Add some utility methods to reduce duplicate code
Merge pull request #86 from johnnyshields/master

Reduce size/complexity by 100 lines