Changed to relative imports.

See http://legacy.python.org/dev/peps/pep-0328/ for an explanation of
the difference.