Fix failing/erroring unit tests

- Issues were due to 1d185faca - which changed how the DbConnectedEntity
  returns the `resource_class` (in all cases where a "virtual" resource
  name is used, the value will now be `null`). Updated tests to reflect
  the change.
Ensure all relevant configuration for a REST service is deleted

- Ensure routing, content-negotiation, content-validation, hal,
  authroization, versioning, and service manager configuration is
  removed when deleting a service.
- Do **not** delete the route or versioning information if the service
  version is greater than 1.
Delete all configuration associated with an RPC service

- Removes content-validation, versioning, authorization, and controllers
  configuration for an RPC service.
- Ensures route and versioning config are **not** removed when the
  version is greater than 1.
CS fixes (trailing whitespace, function declaration)
Fix failing tests

- Since FooConf and BarConf test modules are proper Apigility modules now,
  needed to update the cleanupAsset routines to remove versioned directories
  only.