Removing projects should remove CI builds efficiently
Currently removing a project will result in associated CI builds 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's ON DELETE CASCADE constraint. Associated file system data should preferably be removed using as few rm
calls as possible.