minor tweaks to make sure the endpoints return the fully qualified URL in both WAR and OSGI deployment

git-svn-id: https://svn.apache.org/repos/asf/incubator/streams/trunk@1443116 13f79535-47bb-0310-9956-ffa450edef68