ENH: piecewise polynomials in Bernstein basis

add BPoly to mirror PPoly
ENH: add conversions between power and Bernstein bases
ENH: bpoly: add 1st derivative
BUG: BPoly: fix the derivative