RPC: also allow adding/removing methods using an array or object
test-rpc: modify how tests are run
RPC: allow setting 'this' value for remote method functions