Issue1914

issue #1914, Adding advanced indexing to theano
Actually, those checks should also verify that a is a slice.
So those lines coulde be:
```
and all(isinstance(a, slice) and equal_slices(a, None) for a in args[...]
```