patheffects for Line2d object : rebase of #1015

This is rebase of #1015 with further changes. I updated the changelog and added tests.