[WFLY-490] Configure application type constraints
[WFLY-490] SimpleResourceDefinition should allow null PathElement
[WFLY-490] Unit tests of some constraint classes