Added a test that proves uk.org.lidalia.lang.ThreadLocal avoids the ClassLoader leak issues found in java.lang.ThreadLocal.
Simplifying function - type.getConstructor cannot return null.
Fixed missing import