NEXUS-6045: Fix redirect
NEXUS-6045: Update IT

That caught redirect problem, to give more meaningful
messages.
NEXUS-6045: Fix child reference creation

Code assumed ref.getRootRef() returns webapp root,
but is not the case anymore.