throw exception when err is passed to next

The existing migrate module proceeds normally when err is passed into next().

This change will throw any error passed to next, which matches node conventions and allows for code like this:

```
if (err) next(err);
```