RPC: mergecoins fix

* Move maturity verification to SelectCoinsSimple();
* Verify transaction sum correctly;
* Replace an intermediate transaction signing with estimation of transaction size for performance purposes.
RPC: fix stake weight calculation
Merge pull request #29 from CryptoManiac/master

RPC: mergecoins fix