Make brian ready for python 3

This branch tracks changes necessary to support Python 3 (using 2to3, i.e. with a Python 2 codebase)