Validate arc flags in path data and fix a few typos.
Now librsvg passes all paths-data-* and shapes-* tests of the svg test suite! (http://dev.w3.org/SVG/profiles/1.1F2/test/harness/)