fixes #2193 SQL error on Postgres 9.1 for classes_from_storeconfigs
fixes #2110 - bump safemode to support !=
Fixes #2199: Fix install media submit/cancel buttons when locations/orgs disabled - When locations and Organizations are disabled, the submit/cancel Buttons are not well displayed when you want to add a new medium.