now doing averages only if >1 replicate (faster)
fixes bug when only 1 control replicate (pathogen expressions)
Merge branch 'stable' of https://github.com/Arabidopsis-Information-Portal/intermine into stable