Fix #8. Clean up issues with Python3 Compatibility

Various things which enforces unicode are not really necessary in
python3 but it is easier to just make unicode = str and unichr = chr
Range is in python3 but xrange isn't.