svg-path->points: support multiple coordinate pairs for 'm and 'l commands

Also fix a bug - reverse the last path when we have reached the end of
pathspec, so that the output is in the same order as the input.
svg-path->points: support multiple coordinate pairs for 'M and 'L commands