afterDestroy not called on adapter error

Similar to afterCreate and afterUpdate, we don't want to run the afterXXXX handlers if the delete failed according to the adapter.
tests only: no afterCreate/afterUpdate on errors

Added tests to ensure that the afterCreate/afterUpdate handlers are not run if the adapter returns an error.
Merge branch 'http' of github.com:NiKnight/jugglingdb
Add more love to tests, pr #249
Merge branch 'master' of github1602:1602/jugglingdb