Added Unit Tests to Line.scala. Updated Results for Line.

I added unit tests for all the Line methods and updated/renamed/merged some of the Result types to account for Dimensions.

I added an assertion to Point, Line, Polygon to ensure that their jtsGeoms are valid.