Python 3.4 for travis
Fix Python detection for Python 3.x

  File "<string>", line 1
    import sys; print sys.version_info[:2]
                        ^
SyntaxError: invalid syntax
Workaround for tests in Python 3.4

related bug: http://bugs.python.org/issue21750
Merge branch 'patch-1'

* patch-1:
  Workaround for tests in Python 3.4
  Fix Python detection for Python 3.x
  Python 3.4 for travis