Python3 Compatibility

I am interested in using this module, but the setup.py was broken.
I also added python3 compatibility.

I will follow up with a test automation configuation for using the travis-ci.org github hook to avoid regressions on setup, python2 and python3.

>  Fix setup.py's bad closing brace 
> Fix Module imports
> Replace deprecated dict.has_key call
> Use print functions
> Alias xrange for range in python3 where they do the same thing
> Alias basestring for python3 which combines unicode and str into str
> Split \__cmp\__ into \__lt\__ and \__eq\__because \__cmp\__ is deprecated in python3
> Replace operations.div by operations.truediv because the prior is deprecated in python3
> Add requirements file for pip install -r requirements.txt which is pretty standard for python projects.
> Add language classifier information
> Set zip_safe=False to avoid errors while installing