Addded get_secret
Replaced encode('hex') with binascii.hexlify for python3 compatibility
added get_compressed()
Added key generation tests
stupid rearrange code.
Unit tests are all good.
Added a constant to the base58 code for the private key version number
Replaced one more decode() with unhexlify()
Added initial BIP38 support
Test vectors come from the BIP
encryption with no compression and no ec multiply code works. encryption with compression does not
Encryption with compression and no ec multiply now works.
Added base58 check and formatting to key.py
Added decrypt()
Initial test code for EC Multiply encryption
hex to WIF now uses CKey.get_secret(form=CKeyForm.BASE58)) instead of doing it manually.
Added decryption test code for non-EC Multiply encryption
Merge remote branch 'origin/master'

Conflicts:
	bitcoin/bip38.py
	bitcoin/tests/test_bip38.py