Change how paths and urls are resolved and add unit tests
Merge branch 'release/1.4.0-beta' into develop