Refactor trust.py.

* Groom imports.
* Refine logging output.
* Use Static Single Assignment in burnaddr_from_guid.