Made compatible with Python 3.x with six.
Updated license.
Added travis support.