Implemented trapped chests & others

+ Added trapped chests
* Fixed a bunch of bugs in the redstone simulator concerning wires and
repeaters
* Other potential bugfixes

I hereby present to xoft, ONE METRIC TON PRECISELY -----------------
-------------------------------  of code to review.

With thanks.
But doesn't that basically entail moving the condition into a separate function and adding a remove_if? Why is it beneficial?