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.
Then that goes out of the scope of the PR, and I still don't see the advantages of it. What is wrong with a good comment, as opposed to twenty lines extra of code that does the same thing?