Fix leak in complete() callback of Database.each()

Add destructor to EachBaton that disposes the `completed` callback function.

Fixes #297.