Added error, warning and notice methods to cmd helper.
Fixed typo in rakefile.