Asymptotic Expansions for Confidence Limits in the Presence of Nuisance Parameters, with Applications