(PDB-16) WIP - Added status to "store report" and report query results

Previously there was no way to distinguish between failed puppet runs and successful puppet runs as we didn't store report status. This commit adds support for report status to the "store report" command, v4 query API and model.

This includes a commit from ~kbarber for the terminus side of the feature.