errors are logged with console.error so that stderr propagates
process.exit() with proper statusCode

One thing to take into account when making command lines
is to exit with the proper code so that grunt-tasks works as expected
when failing.
Merge pull request #151 from vvo/fix-exit-code-migrate-cli

Migrate CLI should exit with code 1 if the migration fails