Replace defdbop macro
Replace old defdbmacro with one that creates two separate functions: One
using a thread-bound database and one taking it as part of the
arguments. The latter is named <function-name>-with-db

This change makes it easier to operate on different databases at the
same time.

Also: Update to version 0.5.0