BZ-9751: allow gated calculator behavior even on a private calculator.
Depend less on the magic window.Drupal.settings object
Merge branch 'master' of https://github.com/NoesisEnergy/bootstrap.git