Implementing bitcoin compatity rpc methods and fixed #232

https://github.com/InvictusInnovations/fc/pull/28

this pull request should be merged first.