Plymouth Argyle have confirmed that John Sheridan has signed a three-year deal after agreeing to remain as manager.