Immutable Settings

This change stores some setting in a regular array rather than in $_SESSION. The LocalStorage modules abstract this away such that other code shouldn't really need to be aware of the change. The idea is that settings that don't change as POS changes state really don't need to be in session which in turn means accessing those settings won't cause session locks.