Add some URL cleanups to the API-Mate tool

This means you can just copy/paste the URL from various sources, and
it's less likely to break.