fix #2093
fix #2092
fix #2095
add an escape route for cases where a gate is on all sides of a pipe
optimize NBT usage and some other oddities
temporaily restore old redstone i/o behaviour
restore the old redstone i/o behaviour in core/triggers as well
add stained glass pipes