URITemplate: rename .expand() to .toString()
URITemplate: provide .toURI(), .toURL() methods

It only makes sense to do so, since most users will turn the resulting string to
either one or the other class.