Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=54707
Relax parsing of LHEX and <">LHEX<"> to allow either whenever one is expected
Additionally:
 - improve comments
 - move back one char when parsing in a consistent manner
 - fix edge case bug if first character of quoted token was not valid (it was incorrectly accepted)
 

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1457299 13f79535-47bb-0310-9956-ffa450edef68
Additional test cases

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1457301 13f79535-47bb-0310-9956-ffa450edef68