added new query for past challenge
fixed past cost queries and rename of active one
Merge pull request #328 from cloudspokes/abdul-i126455-submission-end

added new query for past challenge