Split ApplicationController::group_create_update.

Split and cleanup a bit ApplicationController::group_create_update.

Cleanup to make it more readable while working in that area.