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

Add destructor to EachBaton that disposes the `completed` callback function.
Merge pull request #307 from thierer/master

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