Flag to indicate records missing from PAS.
Rework locking mechanism so that it works for new records (using advisory locks).
Fix address bug.
Release patient lock before updating GP and practice.
Modifications to make PasService testable.
Fix error when no CB.
PasService tests.
Tidy up tests.
Merged patient detection.
Merge branch 'release/1.6' of github.com:openeyes/MEHPAS into release/1.6