Add Resource::allowedMethods() method that returns an array of HTTP methods the resource responds to.