adding abilities from the truthcoin project to basiccoin. https://github.com/psztorc/Truthcoin