ENYO-2788: refactor the test for setting the message content related the Phonegap Build platform.

Also mange the state "skip" which hapen when the concerned platform isn't selected for the build.