[ENH]: Make pylearn2 work and tested with python 2.6

This also make use of the latest pyflakes version.