Rpc enhancements

depends/includes on https://github.com/mastercoin-MSC/mastercore/pull/196
Should remove this before merge