WyC: added further documentation to resolveAsType.
WyC: bug fix for parsing files with trailing spaces and indentation.
WyC: bug fix for lexing string constants