CMTS-client interface unit test

This commit will allow CMTS and client development to proceed
independently by defining the interface between the two.  It also
updates gameobjects.js with bug fixes and toString() improvements.