The former Magpies manager is back St James's Park on a three-year contract and will undertake a role overseeing "playing style and transfers" after a poor showing last season