Added new encoder that uses protobuf for system commands and java
serialization for custom commands.
SITEWHERE-120