Update to phonegap 3.1.0