Merge pull request #12 from bchretien/polynomial-3

polynomial-3: use a typedef of Polynomial<3>.
Merge awernerdlr's template B-splines.
b-spline: fix style.
polynomial: fix print for new API.
b-spline: clean test.