Theano/Theano — pull request #791 by nouiz (2012-07-26 18:32:54+00:00)
Title: fix crash and test related to  local_sum_broadcastable

- register opt local_sum_broadcastable only at specialize step
Otherwise this mess with a stability opt.
- rename opt local_sum_broadcast to local_reduce_broadcast,
- update its tests to test many CAReduce op, not just sum.
- fix the crash found with the new test

@jaberg can you review it?