Fixing newResource options passing

When creating new resource in server.js with the new method DataForm.prototype.newResource(), the options (such as onSave/prepareSave in `b_using_options.js` example) were not stored.