Add support for limiting the size of chunk extensions when using
chunked encoding

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk@1521864 13f79535-47bb-0310-9956-ffa450edef68
Improve performance of unit tests and hopefully fix intermittent unit test failure.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk@1521866 13f79535-47bb-0310-9956-ffa450edef68
Profiling indicates that UTF-8 encoding is the bottleneck. Harmony's encoder is slightly faster than Java 7's so use Harmony's.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk@1521869 13f79535-47bb-0310-9956-ffa450edef68
When less than 127, no need to convert to unsigned.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk@1521870 13f79535-47bb-0310-9956-ffa450edef68
Put a limit on the number of Locale to StringManager mappings that will be cached.

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