fixed definition of wrap()
save pointer to event
encode referenced event with hash
[OE-2635] bugfix
Merge branch 'master' of github.com:openeyes/OphTrConsent

Conflicts:
	models/Element_OphTrConsent_Procedure.php
Merge branch 'release/1.3-moorfields'

Conflicts:
	models/Element_OphTrConsent_Procedure.php
Merge branch 'release/1.3-moorfields'

Conflicts:
	views/default/form_Element_OphTrConsent_Procedure.php
removed wrap method (was used for Orbis syncing only)
Merge branch 'release/1.3-moorfields' of github.com:openeyes/OphTrConsent into release/1.3-moorfields
removed wrap method (was only needed for Orbis syncing)
Merge branch 'master' into release/1.3-moorfields
Merge branch 'master' into develop