Move the single byte tests to the new framework
Expand the single byte test cases
Add leading and trailing valid bytes to invalid sequences to check the valid bytes are not replaced
Improve handling for when JVM decoder spots error later than the earliest point
Add handling for when the JVM decoder swallows the trailing valid byte
Add malformed replacement checking to the old framework
Update Tomcat's UTF-8 decoder to use rules from unicode 6.2, chapter 3, table 3-7 for valid byte sequences
Update test cases for these stricter tests


git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1452253 13f79535-47bb-0310-9956-ffa450edef68
Add test from unicode 6.2, chapter 3, table 3-8
Tomcat's decoder needs to check bytes in the range 80..BF start 10xx xxxx rather than 1xxx xxxx

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1452256 13f79535-47bb-0310-9956-ffa450edef68
Remove comments used to debug

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