Make generated service classes namespace-aware

Note that the class_exists() checks are still invalid, but as those are generated in a separate library, I didn't want to make the modifications there to fetch the config and grab the namespace.  We could force the classExists configuration to false when a namespace is specified, but I figured I would leave that to discretion.