[v6r11] Few changes for a better discovery of platforms compatibilities

Note: getDIRACPlatform now returns an ordered list of the platforms, instead of just one. This function was used in only one place in DIRAC, which I corrected. 
The order is decided by using distutils.version.LooseVersion.

I also added a unit test for the Resources helper.