Added 'look_for_contraction' option to CodePrinter, allows to print Indexed instances with non-tensor compliant indices.
Added tests for ccode() and fcode() with look_for_contraction=False
Fix ccode tests not to depend on order of Mul factors in string compare.
Updated test of ccode(..., look_for_contraction=False)
Fixed test_fcode_Indexed_without_looking_for_contraction()
Fix codegen tests not to depend on order of Mul factors in string compare.
Fixed test failures for: test_ccode_Indexed and test_codegen
Renamed codepriner setting 'look_for_contraction' to 'contract', added docstring to ccode() and fcode() describing 'contract' option
Merge pull request #2780 from bjodah/indexed

Added 'look_for_contraction' option to CodePrinter