Clened up parse_body. Now assumes that content in POST body is straight content, not form encoded.
MOved a few convenience functions into rest_handler