Decorators for aborting requests when needed.

Added "authenticated" and "json_post" decorators that will abort the
request with the proper error code when the request is not authenticated
or doesn't have json post data, respectively.