updates to upgrade to PhoneGap 3.x and integrate into grint builds