HFE-533 HFEUI: During form submission, when creating a new visit, add that visit to the context
Also made sure that the visit context is added during submission in the case of existing visits
Did some refactoring of the EnterHtmlFormFragmentController