Restructure user commands using OO pattern like Role commands

This refactor was needed in order to cleanly get a few tests passing on Drupal 8.