Catch error when contacting schedd during the status. Fixes #4364
Fix boolean conditions
Adding configuration templates for validation
Merge pull request #4365 from juztas/master

Adding configuration templates for validation
Wrong location of craConfig.py files. Fix
Merge pull request #4366 from juztas/master

Wrong location of craConfig.py template files. Fix
Postjob: print details when failing to do a couch commit
Cooloff states are no longer possible for nodes in STATUS_ERROR.

In older versions of HTCondor, nodes could transition from
STATUS_ERROR to STATUS_READY as part of the retry process.  Hence,
we tried to determine the "real" state by looking at the error
string.  This transition is no longer possible so we simplify the
logic.