fix(superdesk: settings): moved 'env' helper inlini into settings