FIX: Send accounting records in batches of 1000 records instead of 100

(cherry picked from commit c1b61cbb1af78d2d9a340f4bac77cb003f158607)
FIX: Check for Enabled in the TaskQueues
NEW: Each TQ can have at most 5k jobs, if beyond the limit, create a new one
CHANGE: inherited meta data is not used when doing a find

CHANGE: getDirectoryMetadata: extract the query that, given a meta name
and pathIDs string, return the values and DirIDs. This is a private
method __getDirMeta.

CHANGE: findDirIDsByMetadata: 
1) use the getPathIDs method to get the current path and its parents
IDs.
2) for the meta dict expanded, use the __getDirMeta method to get the
parents' meta values. If they are there, then delete from the input meta
dict the key as it should not be used for the subsequent query. This
part can also be used to identify conflicting meta data with a clear
message (not done here).
3) use the stripped dict for the DirID query, logic remains untouched. 

This allows queries where one of the parent meta data is used. Until
now, this would result in an empty list (not logical).
FIX: do not return if the meta is not set for the dir nor its parents.

Simply continue to the next meta data.
Just beauty
Removed useless getRequest function
FIX: catalog string/list
Just removed useless lines
just beauty
pylint
Always checking if the FileCatalog instance is OK
fix for name of variable
Merge pull request #1649 from acasajus/new-fasterds

[v6r9] FIX: Send accounting records in batches of 1000 records instead of 100
Merge pull request #1652 from acasajus/fix-fuckingtq

[v6r9] TQ verbose and fixes
Merge pull request #1654 from fstagni/fixFT

[v6r9] FIX: catalog name from list to string
For beauty
FIX: handle FTS3 as new protocol and fix bad submission time
FIX: do not submit FTS transfers for staging files
Merge pull request #1655 from phicharp/FixFTS3AndStaging

Fix fts3 and staging
v6r9p17 notes