create optimized course tree query API endpoint
Merge pull request #17 from edx-solutions/api

create optimized course tree query API endpoint