Downgrade to 3.1

Phone gap 3.4 not supported on build.phonegap, downgrading to 3.1.