Implemented getblocktemplate call, response and capabilities.