Fixes #935: Detect the switch indentation style and use that.

Look for the next token and try to determine whether the 'case'
statements should be indented or not from that.

Closes #1228.