Fix Bug 917409 - Trim trailing whitespace on urls passed into add clips

https://bugzilla.mozilla.org/show_bug.cgi?id=917409