Fixing formatting issue for generic test status (ex Pending).
Fixing "cached" query issues by switching to using scoped sessions
in views.  REST endpoints are probably broken as well.
Merge pull request #2 from silasray/master

Status formatting and "cached" query fixes