Initial tests and refactor of trust.py

### Changelog
* Unit test generation of proof-of-burn address.
* Minor module refactor.
That is probably a bigger refactor for when we redo the Order object. Let's do this then.