[OE-2716] initial migration to the new contacts schema
Merge branch 'release/1.4-moorfields' into feature/contacts
[OE-2716] remap patient contacts
[OE-2716] contacts refactoring - patient summary contact association now working.
when browsing to /patient/episodes/[n] don't bounce to an event that can't be displayed because the module isn't enabled.
[OE-2716] contacts refactoring (work in progress)
[OE-2716] minor tweak
Merge branch 'release/1.4-moorfields' into feature/contacts
Merge branch 'release/1.4-moorfields' into feature/contacts

Conflicts:
	protected/models/Patient.php
[OE-2716] contacts refactoring now reasonably stable, needs more testing.
this shouldn't have been committed
[OE-2933] bugfixes related to a ticket raised by ratna
[OE-2716] admin system for contacts (unfinished)
[OE-2716] enabled editing of contact locations
[OE-2716] bugfixes
[OE-2716] admin system for institutions and sites.
[OE-2716] implemented a unified search box to make the contacts admin page more consistent with the patient search.
[OE-2716] added ability to add new contacts
[OE-2716] removed unused method
[OE-2716] removed unused methods