Simplify UrlsController and add missing specs

I decided to remove all the JSON-response support that Rails
auto-generated as part of initializing the Url model. We don't need it
(yet) and the controller got way cleaner.

The last bits of missing specs are also included. I've mainly chosen to
go down the happy-testing path, I'm not testing a lot of edge cases
(except for a few common ones).