Resource loading was modified to use the context classloader as a falllback.
Redundant and possibly harmful check was removed.
The bug of using the wrong classloader was fixed.

The bug has appeared in the case when the context classloader
was changed after the initialization of the javaagent.