auto set created_by in the constructor
Make AnalysisProject deletions cascade

Deleting an analysis project will no longer leave an orphaned
configuration set and corresponding allocation.