Capture any throwable on trigger processing.
RealmProvider now supports testConnection so realms like AD are only created with good information.
Permission service had some broken methods because role mapping was removed from Principal. This has been added back as lazy with no getter/setter to ensure it can only be used by Criteria.