Moved brace matching functionality to use the new syntax tree

I would rather we moved getMatchSpans to services.ts, it sees small enough