Added suport for self reference.

SD-36 : User Management

Added suport for self reference.
Merge branch 'master' of https://github.com/superdesk/ally-py-common

Conflicts:
	setup.py