[#624] Adds JSON response to the tags controller. Fixes bug #624.

* Fixes bugs in auto complete tags jQuery function that caused key
events to fire twice and prevented clicks on tags from firing.

* Adds JSON response to the tags controller.