Engine: mods to support repo sync in UI

Few minor changes to allow for syncing (and possibly other things)
to work in UI.  High-level summary:
- update so that katello.yml url_prefix is used vs the url_root
  env variable.  this will ensure that kt.routes will include
  /katello prefix
- updated some scoping in tasks