GRADLE-3149
Adding support for the property 'configfailurepolicy' in useTestNG(). Added default behavior to test case.