AutoIndent: fix between_paren if cursor is just after the last paren
Merged 'develop'.
Fix tests (infinite loop when detecting docstring fold indent)