Feature/pg json

This cleans some scala code up a bit and cuts django out as the middleman between the database and Scala for indicator job status.

It closes out #528 and #491 and #498. Possibly #426
I realize you just moved this code, but is there a way to use pattern matching here instead of the ._2's? Same goes for the noFailed code below.