Move statistical test code to tests.R
Add nobs element to midas_r output, indicating number of low frequency
observations
Add lagsel function, which selects the number of lags in a model.
Currently experimental.