Add a gitignore and Cargo.lock
Trailing whitespace
Fix usage with -h and -m
Fix detection of failed commands
Merge pull request #1 from alexcrichton/update

Some small bugfixes