Improve indentNextLinePattern

Rather than try to match lines that should cause the next line to be indented we now rule out lines that should prevent it from being so. Fixes #38 and #32.