lexer print statement and unicode_chars string literals changes

For compatability with python3.4. Tested with 2.7 and 3.4 only
fixed import in __init__