Add support for extended nodes

Again borrowing code from PrBoom+, and again using NOVA.WAD as a test
case. Before this commit, loading MAP30 would cause a crash. Now it
doesn't.