Update Challenges API

1. Update api doc.

2. Update Active/Upcoming challenges API to return all challenges at once.

3. Refactor challenges queries.