Fix code folding test (change test results, since import zone detection has changed)
Improve autoindent performance (stop searching for opening paren as soon as there is an empty line (here we made the assumption the user will never include empty lines between symbols (, ), [, ], {, }. This is not always true but will be OK in the majority of cases