Sync with ix repo r1697, fix numerous bugs, enable treemenu, turn on mps
Mega commit to merge with internal repo, adds AD, LDAP, ssh keys in database, improves migrations, and much much more