wrap data source use/unuse in transaction so we are sure of the unuse
Merge pull request #491 from mpapis/features/ensure_datasources_unuse

Wrap data source #use/#unuse in transaction