Converted tgt from a module into a package.

* Agreement calculation now resides in tgt.agreement
* Reading and writing files now resides in tgt.io
* High level functions now reside in tgt.util
* Unittests have been moved into the package: tgt.tests
* Scripts were adapted to new structure