Add support for the new fence gates

This closes #1148 

Can be verified at http://games.snowmew.tk/mapdev/#/172/64/315/max/0/0 (alongside that spiffy red sandstone stuff ;))