Refactoring code to be more OO (WIP)

Saved WIP changes that break crucial tests.
Some work on dht object signing.
Disabled co-op security
New test aimed at narrowing bug(s)
Fixed private TradeListing constructor

Added regression test for it.
Removed debug prints