Adding latest Cordova code snippets to 0.10.x series