FIX: CSAPI downloadCFG might fail + FIX: Set dirac-executor with executable bit
FIX: Type value -> optVal
NEW: Add monitoring to the executors mind
FIX: dirac-install-* were missing S_OK, S_ERROR imports
NEW: JobState/CachedJobState can now reset jobs
NEW: On missing OptimizationChain parameter, reset job and restart
NEW: Added fast track between executors without having to go back to the optimization mind
CHANGE: Try always to push for the latest executor type
NEW: SImpler and faster CacheJobState sync
FIX
NEW: Added Matches done and matches OK statistics
NEW: Add retries to saving job state stuff
NEW: Add function to test if level is shown or not
NEW: Add lots of debug to optimizaion minds
Added log error
Merge remote branch 'upstream/integration' into optims

* upstream/integration: (76 commits)
  FIX: bad function name
  BUGFIX: Typo
  FIX: Use debug functionality from base MySQL class
  v6r5-pre14
  v6r5-pre14 notes
  Use PilotReference instead of PilotJobReference
  CHANGE: JobAgent - provide resource description as a dictionary to avoid extra JDL parsing by the Matcher CHANGE: Matcher - report pilot info once instead of sending it several times from the job
  NEW: Stop after N failed matching attempts (nothing to so)
  FIX: Use MySQL buildCondition
  FIX: use Time.to2K() - NEW_MAGIC_EPOCH_2K FIX: remove local __buildCondition
  Reformat
  FIX: use methods in MySQL
  NEW: new method countEntries()
  BUGFIX: typo min( len( cmd , 512 ) ) -> min( len( cmd ) , 512 )
  BUGFIX: typo debugFile -> gDebugFile
  FIX: Reduce verbosity of MySQL when high level methods are used
  FIX: Avoid a return of error when the group is not valid
  v6r5-pre13, v6r4p20
  v6r4p20 notes
  BUGFIX: OSG sites ceUniqueID = fnpcosg1.fnal.gov/jobmanager-condor
  ...

Conflicts:
	Core/scripts/dirac-install-agent.py
	Core/scripts/dirac-install-executor.py
	Core/scripts/dirac-install-service.py
FIX: Show exception when initializing services
Merge remote branch 'upstream/integration' into optims

* upstream/integration:
  typo
FIX: Properly set the standalone flag
Merge remote-tracking branch 'upstream/integration' into optims

* upstream/integration: (21 commits)
  Show components in alphabethical order in "show status"
  FIX: check the proxy validity before checking the job status
  Avoid unnecessary warnings
  matplotlibrc removed
  v6r5-pre15
  Bug fixes after debugging
  Set the Application status to Unknown when putting into the the TQ
  More VERBOSE output
  empty plots title and missing states in the production monitor page
  BUGFIX: default startTime and endTime to "now", avoid None values
  FIX: use finalizeRequest method from RequestClient, remove obsolete RequestAgentMixIn.py
  FIX: since self.log is a sublogger avoid: 2012-08-06 18:33:59 UTC RequestManagement/DISETForwardingAgent/RequestManagement/RequestClient  INFO: RequestClient.getRequest: Attempting to get request. dips://localhost:9143/RequestManagement/RequestManager diset
  BUGFIX: missing "result = "
  BUGFIX: resourceParams -> ceDict
  BUGFIX: siteName -> self.siteName
  FIX: typos
  exec python ... in the runit run scripts
  BUGFIX: getJDL -> getDescription
  BUGFIX: typo once more
  BUGFIX: missing "s"
  ...
Create atomically TQs
Properly find the TQ
Insert in any state TQ
FIX: Proper name for matching activities