Use gradient_undefined instead of None in MRG uniform
Catch exception and forward NullType to input gradients, instead of failing
Try to fix how Null gradients are propagated in Scan

- propagate NullType when summing different gradient contributions
- identify which outer outputs of the scan node implementing the grad
  should be Null
- replace them, and the corresponding inner variables, with zeros
  of the appropriate size, so the scan node can be compiled and run.
- introduce a difference in undefined gradient because going through
  a shared variable with updates, and because a NullType was returned
  by the internal graph.
Actually compile and run the grad scan node.
Update comment, indentation.
Mark first batch of really slow tests.
Mark some more tests as slow and do some cleanup while there.
Added the cumsum function similar to numpy's one.
Removed forgotten debug comments.
Make sure local_greedy_distributor won't be skipped again.
Add comment.
In tests, use comparison that give more error message when it fail.
Make ScipyGer opt faster by not creating new object each time.
Fix ScipyGer compute_map unhandled error.
Make test error more informative.
Add gpu blas timming.
Test NumPy blas flag before reusing them. Sometimes the dev package
isn't installed, so we can't reuse them.
Merge pull request #1701 from nouiz/local_greedy_distributor

Local greedy distributor, make sure it won't be skipped again.
Merge pull request #1704 from nouiz/scipy_ger

Fix ScipyGer crash
Declare sdot_ static.