Unified & modernized source code.

Should be non-breaking apart from some potential warnings from migrating `int` to `NSUInteger` in `QuadCurveDataSourceDelegate`.

Feel free to reject. Merely meant as a suggestion.