Update use statement orders to Drupal code standard
- Add phpcs tests against Drupal code standard.
- Reimplement legacy functions into service to circumvent naming convention problem with phpcs standard checks (it assumes theme_per_user_* functions are theme functions).