Some autoindent tests.
Make autoindent more vim-like.
Fix autoindent bug.