Active/Past Client challenge costs API

1. Implement the active/past client challenge costs API
Merge remote-tracking branch 'upstream/master' into challenge_cost_update
Merge pull request #256 from Ghost141/challenge_cost_update

Challenge cost update