Fix config layer switching for array call patterns

The config layer accepts the path spec as arrayref which was missing in
the routing code for system/realm detection.
Fix issues in x509 handlers
Smartcard API and modifications to existing classes from old branch

Import the Smartcard API and merge the changes from the old branch to
already existing files in the Smartcard Workflow folder.
Import of OLD Smartcard related class files and config - UNUSABLE!

Import of smartcard and related workflows and all ref'd classes from the former
customized repository. Imported "as is", therefore most likely not working.
Smartcard v4 workflow working, fix issues in SQL and Vault layer