Remove now-unnecessary API::URL class, cleanup

Instead of implicitly generating a URL from a hash, we now generate it
explicitly from the calling methods.