LMS-11185 Split implementation of revert_to_published

@dmitchell Please review.
So should we change the behavior for both Mongo and Split for `DIRECT_ONLY_CATEGORIES`?  Probably the Studio UI doesn't call revert_to_published on a direct-only.  But the test was written to specifically handle this case.