Using ResponseUtils.appendPath to build urls for demo request page.

Fixes GEOS-6693.
Merge branch 'master' of git://github.com/geoserver/geoserver