Strip whitespace from social media urls

We strip the whitespace in the controller before sending it to the model.

Also includes a data migration to update the existing social media urls that
are broken (27 on this morning's database dump)