Adds a `$reference` method to the `$kinvey.Object` definition

The `$reference` method can be used to return a reference to the entity represented by the resource instance: http://devcenter.kinvey.com/rest/guides/datastore#setup.

Reference: issue #19.