backup
NEW: added docstring to StateMachine module
NEW: Synchronizer using Resources helper
CHANGE: Clean the FC_FileAncestors table when removing a file

Until of now, when a file was removed from the FC, the ancestor/daughter
relationships where broken. Now simply remove the file also from that
table. Don't change the depths. Needs testing (will do).

Addresses #1190
CHANGE: Also remove the Ancestor relations if the file insertion fails
CHANGE: Fix the connectyion keyword
FIX: reset oJob for each task in prepareTransformationTasks
FIX: use ';' as separator for sites decoding
CHANGE: replace sortList with sorted() and has_key() with "in"
FIX: typo
Merge pull request #1445 from ubeda/v7r0_Synchronizer

[V7r0] NEW: RSS Synchronizer using Resources helper
FIX: use CS to get files statuses not to include in denominator of %
processed (for web)
NEW: added tables generation on Services. When restarted, will try to
create the tables missing. No need to run dirac-rss-setup script (
deleted ).
NEW: ported from LHCbDIRAC SpaceTokenOccupancyPolicy
NEW: getCurrentStatus method

For the RSS, the SpaceTokenOccupency should use the StorageElement
instead of the lcg_util calls (to allow monitoring also DIRAC
StorageElements), therefore I added the method to extract the info from
the corresponding methods. 

In any case, the space token is a bit nasty: all SEs do not provide
dedicated ones for the VOs. Catch the case the space token is not
defined, and return an error.
FIX: typo in previous commit
CHANGE: add possibility to define in CS a list of statuses summarised as
"Problematic" in the portal (default is just "Problematic")
allow minus character in long script options
FIX: missing () in IN selection
Merge pull request #1455 from graciani/bug_fix_v6r7

BUGFIX (v6r7): missing () in IN selection
v6r7p28
Conflicts resolved after merging with rel-v6r7