Correct string representation of long event types.

This is done by:
1. Introducing a "force_one_line" option for AbstractEventType.__str__()
2. Calling self.__str__() with that option in AbstractEventType.__repr__()
use flake/pep8 default configuration
use with statement
Merge pull request #668 from claudiodsf/repr

Correct string representation of long event types.