Modified actions to use a class or callback.

Originally actions would just source a file.  Now actions use a callback
instead and use call_user_func, allowing a function, static class
method, or even a closure to be used.
Documentation built into output