NEW Changed `DataObject::write()` to return `$this`

Changed `DataObject::write()` to return `$this` as per new SS 3
convention
Using write() chaining in core code

Added the user of chaining off of `DataObject::write()` in the core