* renamed getBfRealPath to getRealPath;
* nowing using getRealPath in all locations where files are resolved
* added javadoc
* changed implementation of getRealPath to be a bit more portable. However still does not work with packed war files