Wrong workflow state for analysisrequest and analysis for secondary analysisrequests

line 58: must be a typo because there is no transition called 'sampled'. This fixes the correct transition for sample workflow enabled installations.

line 64: do all analysis workflow stuff only if we're creating a secondary ar.
line 65: add a 'sample' transition call for sample workflow enabled installations.