Removing projects should remove LFS data efficiently

Currently removing a project will result in associated LFS data being removed by Rails, using 1 DELETE query per associated row. This should be changed so that the database data is removed using a foreign key or at the very least using a single query. Associated file system data should preferably be removed using as few rm calls as possible.

Assignee Loading
Time tracking Loading