switch_back: new method: add_cleanup()
switch_back: new method: add_cleanup()

The method add_cleanup() allows you to run a cleanup action when the
context manager exits. This patch also adds some small improvements to
the docs.

geertj/gruvi,swegener/gruvi,geertj/gruvi,swegener/gruvi