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.
If it is already a vector there are benefits now. It avoids thinking about iterator invalidation and uses an algorithm that removes all the items in O(n) despite erase being O(n).