Add xdbdump.php script.

This is an older script, but it still might come in handy, so keeping it
in the bin/ for now.