Support python 3

Added python future lib to support python3 syntax
Tested locally in python 3.3 and 3.4.
Waiting for travis-ci/travis-ci#1989 issue to get support for python 3.4 in travis-ci