Allowed application/x-www-form-urlencoded for document update.

Documents may now be updated with application/x-www-form-urlencoded POST requests as well as multipart/form-data POST requests.

References #542