Initial tests and refactor of trust.py

### Changelog
* Unit test generation of proof-of-burn address.
* Minor module refactor.
Need test for `get_unspent` also, in case anyone wants to get down to writing this.