Change handling of wkb geometry_type to be more generic

The geometry type is changed to be more flexible
and able to handle multiple formats and different
dimensions.
Update and extend tests for reading wkb geometries

Remove 3D tests
Support writing geometries to WKB format

Adds support for writing geometries to WKB format.
Tests for writing wkb
Use boost::geometry::append to ease adaption of geometries

Replace use of back_inserter with geometry::append to
ease custom geometry adaption