chore(readme): merge code examples, add cordova.require