CHANGE: Speedup the Request query

Remove status and request type checking in the query, do the filtering
after.

Check with K Ciba if this is fine?
Select jobs of up to 30 days old
Updated imports
Updated imports
Make getDirectorySize call compatible with DFC
BUGFIX: proper use of __getClientCertInfo
Merge pull request #1415 from sposs/RequestDBSpeedup

CHANGE: Speedup the Request query
Merge pull request #1419 from atsareg/fix-v6r7

Several fixes
v6r7p23
Conflicts resolved after merging with rel-v6r7