Fixed construction of verification summary message

Do not apply len() to an iterator, apply it to the collection instead.
This got broken in aaa1bfdc.
Whitespace cleanup
pylint: Add configuration file for pylint 1.2.0
Removed unused argument from PassageWidget constructor
Removed unused argument from wordWrap function
Removed unnecessary semicolons
Removed unnecessary parentheses
Removed unused imports
Made computeCode an inner function of lineRectIntersection

This way, the classification constants and the min/max coordinates can
be shared between lineRectIntersection and computeCode.

Also make use of binary literals to improve readability.
Renamed functions from the 'images' module to match naming convention
Removed unused variables
Fixed indentation

Fixed indentation of PassageFrame.syncPassage's internal error function
and StoryPanel.changeWidgetTitle.
Use 'pass' as a neutral statement instead of 'None'

PyLint doesn't warn about 'pass'.
Fixed 'jpg' to 'jpeg' mimetype correction

PyLint flagged this as a pointless statement: because of the extra '='
typo the correction was not actually performed.
Declare arguments on override of Timer.Notify

In practice it seems that there are no arguments passed, but in theory
there could be, so let's declare them to be on the safe side.
Removed unnecessary lambdas
Don't use map+lambda as an alternative 'for' loop

The functional style is less accessible to readers and has no advantage
in this case.
Avoid use of filter() if there are simpler solutions
Avoid use of map() if there are simpler solutions
Replaced PassageWidget.sort by posCompare static method

Making it a static method avoid PyLint complaining about the first
argument not being 'self'.

The name was changed because this method itself does not sort anything:
it is a comparator function that can be called by a sorting algorithm.

I also changed the implementation to not compute xDistance unless it
is actually needed. And the final tie breaker was updated to be
antisymmetrical; I think only consistency is needed for Python's sort
implementation, but it was cheap enough to do it properly.