Minor fix to formatter, to handle other types of transition.
Add URISTRING terminal to handle path serialisation correctly.
Single quote is a legal uri character; also adds unit test.
Mixed case test.
Handle paths serialized and deserialised.