Initial update for Minecraft 1.8 to restore compilation.
Support new doors added in MC 1.8.

This uses the old deprecated method which should still support older versions of Bukkit.