Added fix for Issue#94;
Also added correction for ClassLoaderLeakageTest -- newer sun jdks will
stop before actually allocating enough memory to clear soft&weak
references, so we have to allocate memory in smaller chunks