League Two side Leyton Orient have appointed former West Ham midfielder Kevin Nolan as player-manager.