Add test cases for spline basis.

There is now a folder for test cases, and test cases for both the
spline basis class and steps generator helper function.  The spline
cases test both fixed and variable step size knot sequences as well
as for bases constructed with a variety of boundary conditions.
Fix a nasty little bug.