allow loading from relative paths and prevent NullPointerExceptions

allows loading external resources from relative paths containing no slash and prevents NullPointerExceptions on collada file loading.