Removed AJAX external caching

jQuery's caching caused problems in some scenarios, for example with
scoring/faving posts.
Fixed entity IDs being strings

This coincidentally fixes editing newly added comments.
Merge branch 'master' into api
Simplified routing