Fix course team JS to handle non-200 status codes
Separate Mako logic and JS logic
Merge pull request #368 from edx/db/fix-course-team-add-user

Fix course team JS to handle non-200 status codes