Ned/studentmodulehistory cleaner command

The code seems good on my machine, have to test on large db.  There's nothing here to sleep, etc, yet, until we determine it could help.

@cpennington @ormsbee tag you're it.