pep8 violation fixes
Correct pylint violations
Add test case for invalid handler URLs
Merge pull request #45 from edx/sarina/violation-removal

Eliminate all pep8 and most pylint warnings