Added support for Python3.

Included suport for nosetests.
Merge pull request #10 from tr11/python3

Added support for Python3.