[#326] phonegap.js object require cordova-lib and initializes phonegap member 'cordova'

this will allow a this uniform exposure of the cordova api
[#314] build command updated to use privately inherited cordova object
[#328] updated to consume cordova-lib