Replace some get_action().add_action calls

With this pattern used so often, it's best to use a shortcut.
In reality though, this functionality should really be replaced with a
logging framework, such as the inbuilt `logging` module. It is rather
extensible and could easily replace the existing action functionality.
Merge pull request #22 from Mause/master

Replace some get_action().add_action calls