Implemented trapped chests & others

+ Added trapped chests
* Fixed a bunch of bugs in the redstone simulator concerning wires and
repeaters
* Other potential bugfixes

With thanks.
Okay, I looked up on how to pass additional arguments to something going into remove_if, and it seems C++03 requires *an entire class* to be able to do it. How about we wait until everyone moves to C++11 and we use llamas?