added code to handle various exceptions
Merge pull request #21 from openmrs/ExHandler

added code to handle various exceptions and also spouse relationship