Replacing GPL spline code by LGPL spline code

Now using the LGPL SPLINE library
http://people.sc.fsu.edu/~jburkardt/c_src/spline/spline.html

Adding an extra test, as the current obspy tests do not seem
to cover the interpolation part.

See #827.
I'm not sure why this needs to be `unsigned`.