Refactor course search into course.py to be reuseable
Make a pass at cleaning up the search code
Default to popularity on sort_mode=friends if no current user
Add the /api/v1/search/courses endpoint
Refactor FlaskTestCase to extract a FixturesTestCase
Add some tests for Course.search
Move TODO comment
Add an API test for /api/v1/search/courses
Merge pull request #59 from UWFlow/david-api-v1-course-search

Add /api/v1/search/courses endpoint