Point: some geometry functions were added; Figure::getDistanceToBorder(Point) was added and implemented in Segment
Recognition of closed figures was added (all closed are considered rectangles for now); check for 'fits to be a segment' was added
mainwindow.ui: now 'Save As' is disabled by default
MainWindow::setModelWidget: now it enables actionSaveAs after successful run