Re-order import statements as per PEP 8

Re-order import statements as per PEP 8. See: http://legacy.python.org/dev/peps/pep-0008/#imports