Fix to paths that have the special TPSVG anchor or stretch-to-remainder
attributes with gradient fills not rendering properly. This was due to
any translate or stretch being applied to those paths not being applied
to the gradient fill as well.
Implement a rotation argument for rendering. This rotation can be 
0, 90, 180, or 270 only. Appropriate Canvas rotation and translation is
performed to keep image where it should be. 
The next step after this will be to implement a special path 
attribute to allow selected paths to be visible only on certain
orientations.
Also removed redundant fill argument from main paintImage().