Merge pull request #1 from Bobalot/master

Added support for pluggable chain. Devs can change ENABLE_TESTNET = True...
moving some api functions around.
allow registering a callback for subscribed addresses.
add an examplè (not yet fully working) with subscribe_address
decode address for subscribe_address and renew_address.
finish the subscribe_address api and example.