libdb47: add a variant "full" which builds statistics etc. support

Signed-off-by: W. Michael Petullo <mike@flyn.org>