ShortUrl#update action was redirecting when requested via AJAX (there is
no non-ajax form), which caused a redirect loop
Correctly use PUT and not POST for update test

This is purely semantics, POST works identically when requesting a
resource directly