Added relation types for objects.

Closes #12.
Please rerun tests after merging https://github.com/ongr-io/TestingBundle/pull/4.