Added web application context config for controllers
Re-enabled dependency on the OMRS REST module (it handles useful things like authentication).
Created POST documents service.
Work on GET service.
Added constants for http status codes.
Content handling. Improved debug messages and error handling.
Removed the overriding version.
Better URL handling. RequestError for IOException.
Check for text based data.
Merge pull request #1 from jembi/core_rest_services

Core rest services