Project deletion performance fix

Created by: KelvinMutuma

@randx Fix for issue #1163. i have used delete_all instead of destroy_all to generate a single query for deletion of a project and its related data to optimise on speed

合并请求报告