Manchester United legend Paul Scholes has been named the new manager of Oldham Athletic.