Fixes suggested by raveneye for GetAvailableCredit  & GetBlocksToMaturity Bug
Merge pull request #19 from l0rdicon/getavailablecreditfix

Fixes suggested by raveneye for GetAvailableCredit  & GetBlocksToMaturit...