Checkup and maintenance command-line scripts to fix common inconsistencies in eZ Publish database