WFLY-2001 JPA getNewTempClassLoader should support getPackage(String name)

This is the upstream fix for https://bugzilla.redhat.com/show_bug.cgi?id=997928 (not ack'd yet)