WFLY-2602 ValidatorFactory should be closed when an application is undeployed

https://issues.jboss.org/browse/WFLY-2602