Added necessary import of S from sympy.core
Added test for _print_Mul() method.
Merge pull request #1859 from hazelnusse/fix_codeprinter

Added necessary import of S from sympy.core