First commit about border-radius, works for the background
Draw solid and double borders
Use better names for variables and methods about rounded boxes
Draw rounded border segments

This breaks outlines and collapsed borders
Fix outlines and collapsed borders in tables
Fix overlapping curves
Fix a couple of little things
Fix a couple of things again
Remove duplicate code
Fix min and max calls
Handle inset and outset border styles
Handle ridge and groove
Fix dotted and dashed borders, fixes all tests

Rounded dotted and dashed borders are still broken
Cast round() to an int
Don't validate the lengths in border-radius twice
Fix dotted and dashed borders
Fix borders (only works for top now)
Merge branch 'master' into border3
Fix stupid bug in border radius index for dot/dash step
Small fixes about borders