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

Using the new Encode API
Merge pull request #417 from brendan-lynch/encode

Encode