Created RestRequest

Created RestRequest wrapper to simplify data passed to RestResource, and
to automate extraction of certain information, including automatically
providing POST request data.