clear history when using clear button in RPC console
clear history when using clear button in RPC console

- current code does not clear history, when using the clear button, this
  is added
- remove a currently unused variable but add a TODO comment

dopecoin-dev/DopeCoinGold,vectorcoindev/Vector,LanaCoin/lanacoin,CoinBlack/blackcoin,rat4/blackcoin,vectorcoindev/Vector,greencoin-dev/GreenCoinV2,iadix/iadixcoin,greencoin-dev/GreenCoinV2,AquariusNetwork/ARCO,ALEXIUMCOIN/alexium,valorbit/valorbit-oss,landcoin-ldc/landcoin,Whitecoin-org/Whitecoin,AquariusNetwork/ARCOv2,lateminer/DopeCoinGold,AquariusNetwork/ARCOv2,Whitecoin-org/Whitecoin,pinkmagicdev/SwagBucks,xranby/blackcoin,iadix/iadixcoin,elambert2014/cbx2,rat4/blackcoin,vectorcoindev/Vector,valorbit/valorbit-oss,LanaCoin/lanacoin,xranby/blackcoin,iadix/iadixcoin,xranby/blackcoin,blackcoinhelp/blackcoin,CoinBlack/blackcoin,CoinBlack/bitcoin,CoinBlack/blackcoin,valorbit/valorbit,Whitecoin-org/Whitecoin,greencoin-dev/GreenCoinV2,VsyncCrypto/Vsync,pinkmagicdev/SwagBucks,dopecoin-dev/DopeCoinGold,TheoremCrypto/TheoremCoin,lateminer/DopeCoinGold,TheoremCrypto/TheoremCoin,valorbit/valorbit,rat4/blackcoin,som4paul/BolieC,AquariusNetwork/ARCOv2,CoinBlack/blackcoin,AquariusNetwork/ARCO,Whitecoin-org/Whitecoin,CoinBlack/bitcoin,blackcoinhelp/blackcoin,rat4/blackcoin,dopecoin-dev/DopeCoinGold,CoinBlack/bitcoin,greencoin-dev/GreenCoinV2,AquariusNetwork/ARCO,CoinBlack/bitcoin,elambert2014/cbx2,xranby/blackcoin,ALEXIUMCOIN/alexium,prodigal-son/blackcoin,ALEXIUMCOIN/alexium,VsyncCrypto/Vsync,som4paul/BolieC,elambert2014/cbx2,LanaCoin/lanacoin,iadix/iadixcoin,valorbit/valorbit,ALEXIUMCOIN/alexium,blackcoinhelp/blackcoin,Whitecoin-org/Whitecoin,iadix/iadixcoin,CoinBlack/blackcoin,valorbit/valorbit,iadix/iadixcoin,lateminer/DopeCoinGold,vectorcoindev/Vector,blackcoinhelp/blackcoin,iadix/iadixcoin,valorbit/valorbit-oss,vectorcoindev/Vector,VsyncCrypto/Vsync,blackcoinhelp/blackcoin,landcoin-ldc/landcoin,TheoremCrypto/TheoremCoin,CoinBlack/bitcoin,landcoin-ldc/landcoin,som4paul/BolieC,prodigal-son/blackcoin,som4paul/BolieC,dopecoin-dev/DopeCoinGold,TheoremCrypto/TheoremCoin,AquariusNetwork/ARCO,valorbit/valorbit-oss,pinkmagicdev/SwagBucks,VsyncCrypto/Vsync,elambert2014/cbx2,VsyncCrypto/Vsync,LanaCoin/lanacoin,rat4/blackcoin,landcoin-ldc/landcoin,LanaCoin/lanacoin,iadix/iadixcoin,AquariusNetwork/ARCOv2,TheoremCrypto/TheoremCoin,lateminer/DopeCoinGold,iadix/iadixcoin,lateminer/DopeCoinGold,prodigal-son/blackcoin,greencoin-dev/GreenCoinV2,iadix/iadixcoin,CoinBlack/bitcoin,iadix/iadixcoin,landcoin-ldc/landcoin,elambert2014/cbx2,valorbit/valorbit-oss,AquariusNetwork/ARCO,pinkmagicdev/SwagBucks,prodigal-son/blackcoin,som4paul/BolieC,valorbit/valorbit,AquariusNetwork/ARCOv2,ALEXIUMCOIN/alexium,dopecoin-dev/DopeCoinGold,pinkmagicdev/SwagBucks,prodigal-son/blackcoin