Fixed Python 3 compatibility.
Added 'six' to install for travis