Security upgrade clean ups
-Adds role migration
-Many small clean ups
-Migrates upgrade task ldap decision logic to beans