Added tests for ccode piecewise printing

Tests for multiple conditions, with and without assignment.
Added test for piecewise w/o assign_to
Merge pull request #7888 from jcrist/codeprinting_tests

Added tests for ccode piecewise printing