Locking fix for AlreadyHave()
Locking fix for AlreadyHave()

Access to mapTransactions[] must be guarded by cs_mapTransactions lock.

Also, reformat long lines to make the switch statement more readable.

ahmedbodi/poscoin,ahmedbodi/poscoin,Cannacoin-Project/Cannacoin,coinkeeper/2015-06-22_18-46_reddcoin,bmp02050/ReddcoinUpdates,reddcoin-project/reddcoin,coinkeeper/2015-06-22_19-10_cannacoin,bmp02050/ReddcoinUpdates,coinkeeper/2015-06-22_19-10_cannacoin,reddcoin-project/reddcoin,reddink/reddcoin,reddink/reddcoin,Cannacoin-Project/Cannacoin,joroob/reddcoin,bmp02050/ReddcoinUpdates,coinkeeper/2015-06-22_19-10_cannacoin,joroob/reddcoin,coinkeeper/2015-06-22_18-46_reddcoin,reddcoin-project/reddcoin,coinkeeper/2015-06-22_19-10_cannacoin,reddink/reddcoin,bmp02050/ReddcoinUpdates,ahmedbodi/poscoin,coinkeeper/2015-06-22_18-46_reddcoin,coinkeeper/2015-06-22_19-10_cannacoin,Cannacoin-Project/Cannacoin,reddink/reddcoin,Cannacoin-Project/Cannacoin,coinkeeper/2015-06-22_18-46_reddcoin,ahmedbodi/poscoin,joroob/reddcoin,reddcoin-project/reddcoin,ahmedbodi/poscoin,bmp02050/ReddcoinUpdates,reddcoin-project/reddcoin,joroob/reddcoin,coinkeeper/2015-06-22_18-46_reddcoin,reddink/reddcoin,reddcoin-project/reddcoin,Cannacoin-Project/Cannacoin,joroob/reddcoin