[CB-2734] added PLAT support for WP7, WP8, Windows8 and allow Windows8 to createElement include cordovaPath.  Some minor refactor to remove if/else ladder and ease future platform addition.