Follow-up on resourceType, entityId, profilePath and downloadPath

cfr. https://github.com/sakaiproject/Hilary/pull/378

Once this is merged into Hilary, I'll go ahead and merge Hilary into newframework as this will almost definitely give a fair number of merge conflicts.