BUGFIX: Session var for active subsite out of sync with current subsite. Refs silverstripe/silverstripe-subsites#93.
Fixed JS indentation
3.1 allowed_actions fixes for SubsitesTreeDropdownField