Estimating the Allan Variance in Presence of Long Periods of Missing Data and Outliers