Cast variables in shardb settings file

This help to avoid PHP notices when running wp-cli commands
Add dlblock migration tool. See #921