Update offset() parameter handling.

Update according to the discussion in #1011 (and rebased against master to clean up the mess :-)).

- Rounded offset is now using parameter r
- Using delta only or delta with camfer = false creates no chamfer
- Using delta with chamfer = true creates chamfer at delta distance