added stuff for performance_artifact endpoint
fixed SUM to test for null, rather than 0 rows
fixed some things jeads talked about
fixed some things resulting from jeads fixes. everything should be working now