Add support for incremental parsing.

Right now the entrypoint just causes a full parse to happen.  But the LS code is
cleaned up to take advantage of it appropriately.

This will not be checked in until all the incremental parsing work is complete.
I think it is important to have a consistent code base and I'd prefer for TextSpan to just be plain-old-data with a set of helper functions.