Revolution: fix failure on sketch edges used as an axis
Revolution: fix failure on sketch edges used as an axis

PartDesign Revolution used to fail, when an edge of a sketch was
selected as an axis of revolution. This is fixed by this commit.
Also, made it support selecting an edge from the sketch the revolution
itself is made from.

chrisjaquet/FreeCAD,timthelion/FreeCAD,wood-galaxy/FreeCAD,usakhelo/FreeCAD,usakhelo/FreeCAD,wood-galaxy/FreeCAD,bblacey/FreeCAD-MacOS-CI,maurerpe/FreeCAD,wood-galaxy/FreeCAD,Fat-Zer/FreeCAD_sf_master,wood-galaxy/FreeCAD,Fat-Zer/FreeCAD_sf_master,bblacey/FreeCAD-MacOS-CI,bblacey/FreeCAD-MacOS-CI,Fat-Zer/FreeCAD_sf_master,usakhelo/FreeCAD,maurerpe/FreeCAD,chrisjaquet/FreeCAD,Fat-Zer/FreeCAD_sf_master,usakhelo/FreeCAD,bblacey/FreeCAD-MacOS-CI,chrisjaquet/FreeCAD,bblacey/FreeCAD-MacOS-CI,bblacey/FreeCAD-MacOS-CI,maurerpe/FreeCAD,chrisjaquet/FreeCAD,chrisjaquet/FreeCAD,chrisjaquet/FreeCAD,timthelion/FreeCAD,timthelion/FreeCAD,usakhelo/FreeCAD,Fat-Zer/FreeCAD_sf_master,maurerpe/FreeCAD,maurerpe/FreeCAD,timthelion/FreeCAD,timthelion/FreeCAD,wood-galaxy/FreeCAD,chrisjaquet/FreeCAD,bblacey/FreeCAD-MacOS-CI,wood-galaxy/FreeCAD,usakhelo/FreeCAD,timthelion/FreeCAD,usakhelo/FreeCAD