Moved summary results logic into model and extended study model relationships.
Added titles to region heatmaps
Moved location summary to a raw SQL query. Probably not the rails way.
Refactored heatmap generation code to use custom SQL query
Added CSV and XLS downloads for study results.
Added regions section to the results page
Cleaned up various results items
Merge branch 'results'