Make type1font.py work better on Python 3.x

Communicate token types as objects instead of strings from the
tokenizer to the parser. Use proper Unicode strings for string-like
data in the font properties. Fix the handling of delimiters.

Resolves #3049.
Merge pull request #3203 from jkseppan/issue-3049

Make type1font.py work better on Python 3.x