Fix for #96.
respond to js call with id and name.
make translations accessible to javascript.
needed to respond as json instead of js.
javascript based creation of new categories.
Merge branch 'master' into typeahead
Merge branch 'typeahead'