OSGi classloading support

I've recently been using your excellent library to do some testing.  In attempting to use the library hosted inside of an Pax-Exam OSGi container, I ran into problems loading LDIF files because the call to getClass() is unable to "see" my test class.  This pull request is to allow for the annotated test class to be used for the classloader to pull in the LDIF files if it is found.  Otherwise, the original getClass() method is used.

It would be great if you could pull this into your code so I can avoid having to maintain it.

Craig