Fix bug in challenge results api

1. Actually fix the dr points calculation bug in challenge results api.
Add mark_for_purchase check in challenge results api.
Merge pull request #348 from Ghost141/challenge_results_api_fix

challenge_results_api_fix