Added #attributes method to CDQManagedObject

```ruby
  author = Author.create(name: "Le Guin", publish_count: 150, first_published: 1970)
  author.attributes # => { "name" => "Le Guin", "publish_count" => 150, "first_published" => 1970 }
```