Use ``bash -e`` to fail sooner in replicate-db.sh

Else you get strange effects if an early command fails.
Merge pull request #231 from alphagov/replicate-db-fail-earlier

Use ``bash -e`` to fail sooner in replicate-db.sh