getResourceUrl
CR fixes
Forgot this
Refactoring, merged tests
Merge pull request #30 from spg/spg_getResourceUrl

resourceUrl