patheffects for Line2d object

This is rebased version of #655.
It also add initial patheffects support for Collections object.