Print more info in the optimizer profiling
Faster opt by not doing useless stuff.

This make the Canonizer take 4x less time in a test case.
Fix crashes introduced in this PR.
Remove useless fct call
Pass the reason parameter down.
local_mul_to_neg now only apply when it won't add node to the graph
Remove check_preallocated_output and use default mode for theano.function.
Fix huge amount of whitespace in between function arguments in tests.
Tag a bunch of slow tests according to the linux timings.
remove local_mul_to_neg as it doing a subset of local_mul_specialize
local_mul_specialize now don't introcude neg node when this will add more node then needed.
remove commented code.
fix/update comment/docstring.
remove GpuShape and associated opt as now we reuse the Shape Op with specific c code.
Merge pull request #1700 from MarcCote/cumsum

Added the cumsum and cumprod functions similar to numpy's ones.
Attributes on a class can be a source of problems.
Fix opt crash with other dtype then float32, the code isn't ready.
Minor typo fixes in doc
Typo fixes in doc
Minor typo fix in docstring