Scheduler::addConnection: use runtime_error in duplicate case
Scheduler::checkGraph: reduce number of pairs tested
Scheduler::checkGraph: tweak error output message
Scheduler::checkGraph: return error quantity, throw exception in caller