Provide per-environment last_tested stats in json
The change adds more granular data about the last_tested property of
each testcase to the json export.
With this change, the landing page can show more relevant information to
the user, when an "I want to do some manual testing" action is selected.