Add test for CatalogResource.getEntity(entityId)

- The id could be in the form symbolicName or symbolicName:version
  If the latter, then parse it.