Removed __main__
Moved tentd.errors to tentd.utils.exceptions, removed TentError

sed -i 's/tentd\.errors/tentd.utils.exceptions/' **/*.py