Third and final fix for Websphere

Basically Websphere has problems finding resource prefixes that do not end with a /

The version here is now working correctly when using forPackage and forResource.

It is also logging some warnings on websphere about its strange behaviour.
The Pull Request is full with bad indentations.
I will also reject merging something like this in my code!