Consolidate project to use namespace_details.deleted_at instead of projects.pending_delete

namespace_details.deleted_at already exists and is used for groups, so we should use it instead of projects.pending_delete for projects.

Edited by Rémy Coutable