Mihai Nicolae Patran, 34, attacked the 27-year-old stranger in the street before she fled to a nearby taxi - and then went on to perform a sex act on himself at court