Remove obsolete bits of the /ajax endpoint.
Merge branch 'tim/remove-ajax-2879' into next
Merge branch 'next' of github.com:rethinkdb/rethinkdb into next