Bug 1048353 - One time tasks need expiration date

Add management command and model method to close expired onetime attempts
`return len(expired_onetime_attempts)` is fine here, the variable isn't used for anything.