Stochastic processes in a confining harmonic potential in the presence of static and dynamic measurement noise