Merge pull request #366 from emorency/master

Fixed some PMD warnings
Merge pull request #367 from emorency/master

Fixed test
OPAL-2144 Removed some functional unit dependencies
PMD fixes
FunctionalUnitService removed
Some Functional unit related classes refactored.
Functional unit dependencies removed
Set the permissions related to the project's transient datasources
PMD fixes