[WFLY-2957] Refactoring of the SSL services within security realms.

These changes are a pre-requisite for PKCS#11 to make it easier to slot in different store types.