[matchbrackets addon] Skip scanning of huge lines, allow passing of config options

Issue #1408
[matchbrackets addon] Don't fetch tokens on long lines

Without a bunch of more involved code, it has quadratic complexity, which
gets slow rather fast.

Closes #1408