Martim Fernandes' freak own goal gives Nottingham Forest hope of a first European semi-final in more than 40 years.