Add `expose_current_running_example_as` config option.

Fixes #963.