Fixes warnings and errors

Mostly intruduced by recent changes regarding formatters. Closes #49
Merge pull request #50 from leonkunert/master

Fixes warnings and errors
crates.io support
Add an example for sub-commands.
Merge remote-tracking branch 'upstream/master'