Update challenge results api

1. Retrieve dr points of each submission from database instead of calculating it in code.
Merge pull request #350 from Ghost141/challenge_results_api_fix

Update challenge results api