Provide a JSON view for the applications that have been deployed

Allow querying the applications index as JSON and provide not only the
metadata for the application but also the latest deploy for each
environment that we support.