add hint infer_shape
Merge branch 'fix/subtensor-constant-index' of github.com:jaberg/Theano into fix/subtensor-constant-index