fixing issues for 2.2; some additional api changes and testing
Merge branch 'master' of https://github.com/orubel/restrpc