Apparatus for measuring unknown time intervals by electromechanical means using an electromechanical oscillator