Reworked logic for calculating default encounter dates in html forms so that start date isn't always the start of the visit if there is an active visit
Fixed 'void visit' functionality which seems to have broken with 1.9.6 upgrade