Introducing notion of Document that maintains selection cursor and measure metrics.
Updated unit tests to properly test TextBlockUpdater.