Expose the pattern matching logic from DefaultMode

Since it can be useful within sub modes.
Improve Ruby indentation

Particularly for continuation lines. Remove some specs that are really
targeting the default mode.