Padding for d3.layout.pie.

Similar to @sebastianseilund’s implementation in 19b9626, but with some style
tweaks and handling more edge cases, such as when the pie layout is configured
in counterclockwise orientation or when the space reserved for padding exceeds
the total available space. (I still need to merge or implement tests.)