Patch for Bug 827538

NativeJavaMethod overloadCache was not sychonized on traversal which
could lead to potential ConcurrentModificationException. Replaced the
LinkedList implementation with CopyOnWriteArrayList which is guaranteed
not to throw a ConcurrentModificationException during iteration.
Patch for Bug 738388

ClassCache returned a non-thread safe HashMap that is shared between
threads. Updated the cache to use ConcurrentHashMap as the cache
backing.