Determine overall status for endpoint and datasource

also: consolidate status information and possible states

(from redmine: issue id 645, created on 2018-01-22tgradl, closed on 2018-02-15)