api to get total and active posts for a course

allow course with slashes
Merge pull request #9 from edx-solutions/ziafazal/get-total-and-active-posts-by-course

api to get total and active posts for a course