Work on Reference, CIRI validators
Work-around for issue where empty resultset returns an array with a
single member.
Fixed bug where error (form validation) info was being written to the
wrong errorlock for R2 validation.
Merge branch 'develop-cwatson-12-19-release' into develop-cwatson-extended-ccda-UI