Resource http methods DELETE PUT

Update resource.js #27
Could you please not update `dist/` files in your PR? I'll do that with the release.