NEXUS-6250: index rendering with query params

Query params broke the links that were rendered when a
collection index page was rendered.
Merge remote-tracking branch 'origin/master' into NEXUS-6250-index-rendering-qp
NEXUS-6250: Wrong method used.

To get the URL client used to retrieve the parent collection,
who's index page is being rendered.
add comments explaining the usage or url
Merge pull request #343 from sonatype/NEXUS-6250-index-rendering-qp

NEXUS-6250: index rendering with query params