Added the ability to set namespaces in services.json files

- When constructing services, services now prefer parameters and
  dependent services that start with the namespace, but it will
  fall back to the global namespace
- When importing files, the namespace is applied before the imported
  file's namespace is applied
Fixed an issue with setting a namespace