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

bmp02050/ReddcoinUpdates,Cannacoin-Project/Cannacoin,joroob/reddcoin,coinkeeper/2015-06-22_19-10_cannacoin,reddcoin-project/reddcoin,reddink/reddcoin,coinkeeper/2015-06-22_19-10_cannacoin,coinkeeper/2015-06-22_18-46_reddcoin,coinkeeper/2015-06-22_18-46_reddcoin,bmp02050/ReddcoinUpdates,reddink/reddcoin,coinkeeper/2015-06-22_18-46_reddcoin,ahmedbodi/poscoin,reddcoin-project/reddcoin,Cannacoin-Project/Cannacoin,reddink/reddcoin,joroob/reddcoin,Cannacoin-Project/Cannacoin,ahmedbodi/poscoin,coinkeeper/2015-06-22_19-10_cannacoin,reddcoin-project/reddcoin,reddink/reddcoin,ahmedbodi/poscoin,joroob/reddcoin,reddcoin-project/reddcoin,bmp02050/ReddcoinUpdates,coinkeeper/2015-06-22_18-46_reddcoin,reddcoin-project/reddcoin,coinkeeper/2015-06-22_19-10_cannacoin,ahmedbodi/poscoin,joroob/reddcoin,bmp02050/ReddcoinUpdates,reddink/reddcoin,Cannacoin-Project/Cannacoin,reddcoin-project/reddcoin,coinkeeper/2015-06-22_18-46_reddcoin,ahmedbodi/poscoin,bmp02050/ReddcoinUpdates,coinkeeper/2015-06-22_19-10_cannacoin,joroob/reddcoin,Cannacoin-Project/Cannacoin