Refactored commands to CommandsBase mixin; added define_singleton_action

- incremented version to 0.4.1
- current spec status: 735 examples, 0 failures