Add c_code to the shape op.
fix crash on OSX due to a variable not initialized being used.
Fix a bug Yao had. Is this the right fix?
Real fix, otherwise, we where not removing useless non_seqs
Add scan tests that fail with my first fix
Merge pull request #1409 from nouiz/mixed

Fix opt error/skip in scan, add Shape.c_code()