added c style escaping to irgen, more junit tests for irgen