Small cleanup

Changes:
* cleanup simpledefs.py
* cleanup permid.py
* remove btformats.py
* remove convert.py
* cleanup miscutils.py
* remove Tools
* many other stuffs
* change pymdht to a submodule.