Add write API

A PUT to /url?url=http%3A%2F%2Ftest.com adds a new link of
'http://test.com' to the whitelist.

There's some basic validation on whether the URL is well-formed and is
absolute also.