fixes #2110 - bump safemode to support !=
fixes #2193 SQL error on Postgres 9.1 for classes_from_storeconfigs
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.
Feature: #686 - Hosts can inherit environment from hostgroup
fixes #2196 - create tmp/ if it doesn't exist
fixes #2198 - add AJAX routes to existing permissions to fix non-admin UI

In 2ac3af69, the automatic authorization of XMLHttpRequests was removed for
security reasons, however the controller actions need associating with
specific permissions for non-admin users to use the UI.

This adds a test that will fail by default if new routes are added with no
permission that grants access.
STI - clean test pass