Wrote test for HttpRequestToRestfulHttpResponseTransformer

- Wrote test for HttpRequestToRestfulHttpResponseTransformer
- Changed pom.xml to use java 7 as JAX-B that we are using has
dependancies on this version of java
- Fixed the exception handling of the Transformer class