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.
Just a habit. I always use unsigned integers when indexing into arrays. This easily avoids negative indices --- therefore you need only check the maximum when testing on array boundaries.