Changed lifecycle of handlers and UoW to be  InstancePerUnitOfWork, fixes #1206