def get_environment_problems(environment, limit=None):
    """
        Returns a tuple of all the problems that occurred in given
        `environment` and dates of last occurrence in that environment.
        Optionally `limit` the number of results.
        """
