Resplit redstone .inc file and provided improvements

As worktycho appears busy at the moment, I've split the .inc file into header and implementation again for ease of maintenance until a better solution can be reached.

There are some additional improvements with regards to usage of C++11. A chain of powered devices will depower instantaneously, in preparation for finally fixing the wire flicker:

* Fixes #860

An unrelated commit:
* Fixes #1330
This is not how you fix a test.