Refactor iteration and test using \r\n linebreaks
Remove bad Python versions from Travis config

3.2 is the only 3.X Python version available on Travis CI
Use 3.X compatible exception handling syntax
Remove unnecessary "pass"s
Move exceptions into separate module