Resource http methods DELETE PUT

Update resource.js #27