WFLY-3587: removes the need for infinispan module when creating security...

... domains without a cache of type infinispan.

Also removing dependency on Transaction subsystem class.

These changes are needed to have security subsystem working on web-build, without Infinispan and Transactions subsystems.