implementation of push endpoints (#11)
version number is v2.0.0
url components in module level constant
headers in module level constant
more module level constants (refactoring)
serialisation function as module level constant
some commenting
Merge pull request #15 from ninjatronic/master

merging readme changes
`angular-cookies` is an optional dependency

EXPERIMENTAL! This has not been tested
README update for optional dependencies

Reflecting that `ngCookies` is no longer a mandatory dependency
tests for previous commit
`ngstorage` is an optional dependency

if available, and if the `local` storage option is specified, it will be used to persist the auth token across browser sessions
potentially fixing travis build error (?)
Makes `save` available on aliased object definitions

Manual merge of the fix for issue #17 into the v2 dev branch. References pull request #18
Removes the `Content-Type` header from the email verification call (#20)

Manual merge of 10277e6f166a4fdd6c8f21e85461536c0b8b8813 from master into v2-dev: fixes issue (#20) and references pull request #18
Changes the `$kinvey.User.search` URL to use `/?` instead of ‘?’

Manual merge of 81080d965abb62329bb7844f4a3e5e6e8bff7fac from master into v2-dev: fixes issue (#22) and references pull request #18.
Replaces the `?` in the user query URL to `/?` which prevents the `AppNotFound` from being returned from Kinvey.
Adds a `$reference` method to the `$kinvey.User` 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.
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.
Adds a `$reference` method to the `$kinvey.File` 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.
`$kinvey.Object.$save` demonstrates deep reference recognition

When saving an object the `$reference` method is used as a marker to detect and flatten nested Resource instances into references.

Reference: issue #19.