small changes to aggregate
fix ajax error handling for runs
put cron and email logs in run
Merge branch 'master' into develop

Conflicts:
	Model/helper_functions.php
fix up email log
Merge branch 'release/v0.4.48'