Clean up url.js

Almost all API:s are removed, because we don't need them, and likely
never will. If we do, we can either import them from the Firebug repo,
reimplement them in more well-defined manners, or use standardized
alternatives.