#4967: change for datasources
queryProjectOrganization.sql reads from dsm_organizations
integrated (hopefully) all required changes from dnet40
codebase used to migrate to java8 the production system