Merge pull request #1405 from HapeMask/py3k-fixes

Py3k fixes
Fix random test failure on python 3.3
pep8
don't locally rename a fct.
fix import problem with python 3.3.0
Add the MonitorMode(..., linker=X) param to allow selectings optimizers with the mode.
Make the MonitorMode use the default optimizer.
Allow to include/exclude/require optimizers for the MonitorMode.
Better error msg when not passing correct updates parameters
remove import not used.
Added a warning about deterministic stuff.
pep8
pep8
remove variable not used.
Add the opt tag name inplace_elemwise_optimizer to inplace_opt as this
is the variable name used.

I lost 1h before undersanding it isn't the name used in the optdb.

Also test that we can disable inplace and fusion opt with MonitorMode.
Extend doc of MonitorMode.
Add opt that lift flatten toward the inputs for unary elemwise.

This enable elemwise opt with flatten in the middle.
This can also enable more elemwise fusion that got split by flatten.
make the check work with iterator (so with OrderedDict).

Should solve travis-ci tests in this PR.
import any for python 2.4
Add test for opt local_flatten_lift