Add support for directory separators in baseUrl

I recently started using node-webkit for a threejs project and I have been having problems loading relative assets inside my Collada (DAE) models. Turned out to be an issue with the baseUrl configuration inside the ColladaLoader.

Not sure if this fix is appropriate since there may be many other places, and maybe there should be a utility function for this, but this seems like a good start.