Reworked pages and views to use new set of global page model attributes
* currentApp - the app that the current request is being made in
* currentPatient - the patient being viewed
* currentVisit - the visit being viewed (could be a historical visit)
* activeVisit - the active (open) visit of the current patient