Merge pull request #47 from brendan-lynch/encode

[BISERVER-11268] - Centralize and Standardize the encoding/decoding of W...
[BISERVER-11268] -  Centralize and Standardize the encoding/decoding of WebService calls from clients of the Pentaho Servers

Changes reflect change in encoding scope and API.