Add grunt-cli to dev modules
Handle API error with rejected promise
Merge pull request #1 from lmorchard/parse-errors

Handle API error with rejected promise