When the pool shape is equal to the pool stride, theano's max pooling algorithm is called instead of pylearn2's one.
borders aren't ignored anymore for max pooling in mlp.py
fixed small bug with naming the model
Moved some code to improve performance
Merge pull request #987 from AlassaneNdiaye/fix_test_convelemwise_tanh

Fixed bug which occurred in test_convelemwise_tanh