Merge pull request #279 from dkayiwa/TRUNK-3056

Merging two fixes for OpenmrsClassLoader memory leaks caused by threads with a longer lifespan and OpenmrsClassScanner: Investigate possible memory leak in 1.9.0 or one of its bundled modules. - TRUNK-3440