WFK2-645 Modified the Cordova initialization logic.

Cordova is now initialized through RequireJS in a manner
recommended by the Cordova team.