Exception stack trace logging

Write exception stack trace to the log instead of just the exception name.

Fix for issue https://github.com/flyway/flyway/issues/548.