common cleanup.

  * Added missing namespace prefix.
  * Changed logging macros names to one convetions.
Extended DataPoint2dVector class functionality.

+ Added getDataSubset function
+ Added Sanity check mechanism
+ Added tests for new functionalities
+ Added tests for existing getters
Added segmentate function.

Tool to segmentate finite data into possibly most equal parts.
+ Added unit tests for function.