Adds support for Object states (Fixes #4)

Adds a naive `isEqual` implementation and updates spec to support object
states.
Merge pull request #5 from rjz/master

Adds support for Object states (Fixes #4)