Content-negotiation in /resource GETs

Extensions are used in /resource/* but NOT in /resource/*/*
because we can't be sure that the "extension" isn't part of the
key's value.