Analysis Project Status Changes

Adds a "Template" status for analysis projects (for the purposes of AUE-305).  Also updates analysis project commands to disallow changes to AnPs that aren't "In Progress", "Hold", or "Pending", because changing things when they are in a form of done is probably bad.  
I guess this can now just be `'analysis_project.status' => 'In Progress'` rather than an 'IN' clause right? Not that it makes too much difference.