Asymptotic Analysis and Observer Design in the Theory of Nonlinear Output Regulation