Fix course url link in enrollment emails.
Added test for email body containing course url and some pep8 fixes.
Merge pull request #357 from edx/bugfix/dcadams/enroll_emails

Fix course url link in enrollment emails.