Some tests for Segment::distanceToBorder were added
Added 'tests' config parameter; tests now can be built instead of application (#9)