Fix issues 17, 22, 24, 25, 28 and some other unreported

Fix to issues #17, #22, #24, #25, #28 and some other unreported
Issue #22 is not 100% fixed. But I do not see easy way to do this. See my comment in issue.
Some unreported issues: gradient strokes were not working, bug fix to my implementation of patterns (now made it the right way without adding fake SVGUse), blur filters with different x and y parameters were not working.