Added lagacy statitistics import status.

The /v4/debug/status report now includes the status of the legacy statistics
import.
This logic is almost identical to the function above. Perhaps we could share the code without too much problem?