Fixed tests in test.common.js
Fixed some tests; added undefined checks
Fixed EDD estimation based upon LMP on client.
Added fhNote field to prenatal exams.