Add 'opam repository set-url'

Closes #1288