Uri: Improved API for compositing textual URIs

Folded logic for Uri::debugPrint() into Uri::compose() and then
removed the former.