Device detection of Apache Cordova

Simple check if "window.cordova" is defined for device detection of Phaser running (most likely) under Apache Cordova.
Merge pull request #1102 from videlais/patch-1

Device detection of Apache Cordova