this fixes T40993.
snapping of active vertex/edge when there is none active (like it is the case after extruding) is obviously intended to fallback to snap median, as the functionality is implemented however it is bypassed by a questionable solution (the deleted lines) which just picks some face median instead (even when in edge/vertex selection). those lines were commented with /* no */ btw :)
with those lines deleted, snap active falls back to snap median as intended.
campbell: hope its ok if i ask you for review? its because you did a lot of fixes related to snap active a while ago (T36973)
btw this is my first bugfix, obviously not much of a fix, so i hope at least the formalities are ok as well? :) and i hope that it doesnt break anything else, but i cant see anything.