Improved entry function detection

Go through the backtrack until we are not in Kansas... ZFE_Core anymore.
This way it works when people do a ZFE_Core::halt()
Improved CSS/JS addition

Only add them when they actually exist. Using a new convenience function
to get the local filesystem path based on the path URL.

TODO: Should probably make this work when there is a baseUrl() setting.