Update Challenges API

1. Update challenges API to execute the sql query directly instead of run query file.

2. Add technology and platform filter for challenges api.