Update resource.js

added `options` to the supported actions for a resource
Merge pull request #5 from superbecker/patch-1

Support `options` action in a resource.