Moved the code that resolves a url while taking the root of the assetgraph into account into a helper method.
Fixed resolution of root-relative AMD require/define relations.
Release 1.5.9.