rpcobject.js and __wsrpc__

adding ability to define (or inspect) object methods
see __wsrpc__

also adding javascript library that builds a js object
given the __wsrpc__ defined spec