Support inverted TrapDoor. Fixes BUKKIT-3390

Trap door inversion was added in MC 1.4.2

Added logic pulled from Step.java and Stairs.java