TrieNodeFactory method made virtual

Also updated XML comments for GreedyRegExNode