Tolerate preProcessNode callbacks that remove nodes entirely (supplying an empty array of replacements)
Rename "preProcessNode" to "preprocessNode" for consistency with "preprocess" on binding handlers. No functional changes in this commit.