added private constructors for serialization and tests.
Merge branch 'master' of https://github.com/jdereg/n-cube
Merge pull request #84 from kpartlow/master

Updated cmd classes to support old cube JsonReader/JsonWriter format