Fix exit code migrate cli

The knex command line for executing migration tasks was not exiting properly (exit code).

Thus when running with grunt, it says everything is ok even if migrations failed.

I did not see any tests about the cli command line.