adding infer_shape for Hint Op
Merge branch 'fix/tensor-constant-folding' of github.com:jaberg/Theano into fix/tensor-constant-folding