Add support for custom HATEOAS

Updated the code in order to don't overwrite '_self' and 'self' if already exists in doc.
Merge pull request #11 from ioanpocol/develop

Add support for custom HATEOAS
Add support for custom HATEOAS

Updated the code in order to don't overwrite '_self' and 'self' if already exists in doc.
Merge pull request #11 from ioanpocol/develop

Add support for custom HATEOAS
Merge pull request #12 from amagdas/sync-upstream

Sync upstream
Merge pull request #13 from superdesk/fix-weak-date

use rfc1123 date format for weak_date
Merge pull request #14 from amagdas/disable-cache

Disable cache
Merge remote-tracking branch 'upstream/develop' into develop