Make Rest proxy stuff a bit more modular and thus testable. Add RestInvocationHandlerTest.
Merge pull request #20 from mmazi/restproxy-test

Made Rest proxy stuff more modular and testable. Added test.