Minimal BIP 22 (getblocktemplate) support
Minimal BIP 22 (getblocktemplate) support

- Replaces getmemorypool with new getblocktemplate
- Add missing keys: coinbaseaux, target, mutable, noncerange, sigoplimit, sizelimit, and height
- Accept and send parameter Objects, checking "mode" key if present
- Return rejection reason "rejected" for submit mode

Crowndev/crowncoin,Earlz/dobbscoin-source,syscoin/syscoin,dobbscoin/dobbscoin-source,Crowndev/crowncoin,syscoin/syscoin,domob1812/crowncoin,Crowndev/crowncoin,Earlz/dobbscoin-source,Earlz/dobbscoin-source,Infernoman/crowncoin,dobbscoin/dobbscoin-source,Infernoman/crowncoin,syscoin/syscoin,Earlz/dobbscoin-source,domob1812/crowncoin,dobbscoin/dobbscoin-source,Earlz/dobbscoin-source,Crowndev/crowncoin,Crowndev/crowncoin,Infernoman/crowncoin,syscoin/syscoin,syscoin/syscoin,Infernoman/crowncoin,dobbscoin/dobbscoin-source,domob1812/crowncoin,dobbscoin/dobbscoin-source,domob1812/crowncoin,Infernoman/crowncoin,Crowndev/crowncoin,syscoin/syscoin,Earlz/dobbscoin-source,Infernoman/crowncoin,dobbscoin/dobbscoin-source,syscoin/syscoin,domob1812/crowncoin,syscoin/syscoin,domob1812/crowncoin