#1772: QueryMatch.cs: implement caching of NodeInfo lists to improve performance when repeatedly matching trees against schemas.