Add error handling to the local mysqldump command

Errors from mysqldump were not handled, so the output could be diffed
against an empty dump with no notification to the user.

The return value of the command is checked, and if it is not 0 the
output from the command is thrown as an exception.
Merge pull request #2 from Ents24/error-handling

Add error handling to the local mysqldump command