Line3D class

This PR is a work in progress, contains a `base` class along with `Line3D` and `Segment3D` classes.Yet to add more methods and `Ray3D` class along with tests.
A lot of tests in this file are changed? Why? This seems like compatibility breaking change and should be very carefully documented.