Add 6d facedir support and a conversion routine to handle all
of the old "inverted", "wall", "vertical", "top" nodes.  Also renamed
"bottom" micro/panel nodes.

Also fixed a couple of minor bugs and did a lot of code formatting for
readability (but not mauvebic style ;) )