phonegap3 + plugman

took the phonegap3 branch and made it compatible with plug man