Refactor rsvg_parse_path_do_cmd into seperate functions, and move its switch statement into rsvg_parse_path.
This will make parsing and validation of path data more straightforward.