reimplement CBigNum's compact encoding of difficulty targets
reimplement CBigNum's compact encoding of difficulty targets

Use shifts instead of going through the MPI representation of BIGNUMs.
Be careful to keep the meaning of 0x00800000 as sign bit.

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