Made `ultimate_pong` a dependency of `doc` so that documentation can only be generated if the build succeeded.
Added the scoped_init template, a class which turns two functors into a RAII helper class.

It hasn't been tested, but it should work...