Move pg:diagnose from pg-extras to the main CLI and add a spec for it