Phonegap3

This branch uses the new phonegap 3 format. Please merge with master.