more efficient Markup_Tree, based on branches sorted by quasi-order;
renamed markup_node.scala to markup_tree.scala and classes/objects accordingly;
Position.Range: produce actual Text.Range;
Symbol.Index.decode: convert 1-based Isabelle offsets here;
added static Command.range;
simplified Command.markup;
Document_Model.token_marker: flatten markup at most once;
tuned;
use "../settings.ML";
use_thy "Tree";
use_thy "Tree2";
use_thy "Plus";
use_thy "case_exprs";
use_thy "fakenat";
use_thy "natsum";
use_thy "pairs";
use_thy "Option2";
use_thy "types";
use_thy "prime_def";
use_thy "simp";
use_thy "Itrev";
use_thy "AdvancedInd";
use_thy "appendix";