NOJIRA Fixed a couple of easy-to-fix STRICT standards warnings
PROV-689 Added support for editor UI type restrictions in profiles

Also cleaned up the editor UI screen type restriction code in the
installer a bit while I was in there.