Should be able to define EncounterVisitHandlers as spring beans

https://tickets.openmrs.org/browse/TRUNK-3772