Initial tests and refactor of trust.py

### Changelog
* Unit test generation of proof-of-burn address.
* Minor module refactor.
I was wondering if it is possible to create a method that completely isolates the use of the bitcoin library and reactor thread. Something like get_addr_history. Or is it not worth it?