Leaderboards support

This PR contains complete support for all current leaderboards-related API endpoints.

**Note:** Additional testing still in progress.