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.
Merge pull request #1 from kepstin/url-cleanup

Add some URL cleanups to the API-Mate tool