[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.
Merge pull request #48 from brendan-lynch/encode

Encode