Move int -> String mapping for class and interface names from JavaClass to ClassParser.
This avoids an intermediary int[] array.
Move commons classname lookup and compact code into a helper method.

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