Several bugfixes and Python3 comaptibility
Merge remote-tracking branch 'origin/master'

Conflicts:
	tvsapi.py