fix wrong column name in analysis query
clean up getting analysis status from database
simplify analysis status determination
standardize static status names with reduction, collection
remove unused data analysis status methods
make setDataAnalysisStatusInDatabase more generic

 * now to be used for generally setting status, not just for ERROR
ensure all analysis status fields are set
remove duplicate retrieve. add datacollectionid to log error message