[issue1021] Add asynchronous page update capability

Branches off of #1352. By new issue id, addresses #1336.
You're calling json.dumps() a few times. Maybe you can refactor this slightly and do that once at the bottom.

Also, for the "Object does not exist!" error, this should probably be a 404, not a response code of "200 OK".