XBEAN-274 improve performance by rewriting replaceFirst with endsWith + substring.

The code just removes a ".class" at the end of the entry name. 
Overall performance of finder improved by as much as 20%.


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