Edu leaves Nottingham Forest after turbulent spell