Fixed TXT parsing with escaped chars

As stated in #126 things are not always correct when TXT has escaped special characters: semicolon, parens or others. This patch addresses handling of different lexer states when escaping is handled.

Also this include minor code simplification for handling escaping when generating string representation of RR.