Started to fix tagsInput script
Finish fixing the tagsInput stuff.

Fixes #174 and #202
Merge pull request #212 from Prillan/ac-fixes-tagsInput

Auto-completion fixes