Added SwitchBraceStyle.
Added SwitchBraceStyle.
Moved all logic from BracesState to BracketsBaseState.

Bugs fixed:
Bug 4096
Bug 7649
Bug 7710