Python 3 compatibility: relative imports

In Python 3, this kind of import doesn't work any more. Relative imports have to
be explicit, as in this commit.
Merge pull request #6 from nickstenning/python3

Python 3 compatibility: relative imports