split Lines by NaN values

This pull request makes plotting of line segments more like R, where NaN values break the dot-to-dot nature. 

I only implemented something for svg graphics, but it seems easy enough to add to the other backends. I'd be happy to try. You might be able to make the `make_paths` function prettier.