Add check to intents.url() to trim URL params

If you don't trim the URL string and leave spaces at (at least) the end, the
Twitter intent simply leaves it out of the message text entirely.

This would at least fix https://massrel.atlassian.net/browse/MR-1877, and is a general bug that needed fixing anyway.