Started fixing Python 3.4 incompatibilities

Upgraded six to 1.7.3.
Deal with the removal of basestring in 3.4
fix import and print statements for 3.4 support