Made some changes for python 3 compability:

These are changes to improve async for python3 compability.

- print needs brackets now
- Exception as exception instead of Exception, exception
- basestring does not exist anymore

This is probably not all.