Added curve finalization and improved on various aspects of it.

Also moved 3 files out of Pinta.Core and into Pinta.Tools and added 2
new functions to CairoExtensions.