Error handling for rpc

- rpc error handling
- usage of req.body for POST requests
- patched up testing a bit

once https://github.com/syscoin/node-syscoin/pull/1 is released to npm, package.json will need updated for the new dependency version