Add RPCFromClass and rename RPCFromPublicMethods to RPCFromObject
Merge pull request #2 from iffy/rpc-from-class

Add RPCFromClass and rename RPCFromPublicMethods to RPCFromObject