[lib] Fix formatting of phonegap.js creation step.
[lib] Rename dupeCordovaToGap as injectPhoneGapDotJS.
[lib] Reformat callback handling in injectPhoneGapDotJS.