Added locks on the setpwalletRegistered functions in main.cpp and added an UnregisterAllWallets function.
Added locks on the setpwalletRegistered functions in main.cpp and added an UnregisterAllWallets function.

Conflicts:
	src/main.cpp

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