First attempt to add callbacks to the `run()` function
Callbacks now supported by `run_until()` function as well.
Documented callbacks
Merge pull request #262 from apdavison/callbacks

Added callbacks to the `run()` and `run_until()` functions (see #233)