TRUNK-4004: Module should be able to say it needs to start before another module
Merge pull request #923 from rpuzdrowski/TRUNK-4004

TRUNK-4004: Module should be able to say it needs to start before another module
further changes according to comments in the previous pull request TRUNK-4314
Merge pull request #924 from harsha89/TRUNK-4314-additional

further changes according to comments in the previous pull request TRUNK--4314
Doing some file formatting
TRUNK-4378 Modules using conditional loading should not fail on older versions