gap.js modfied to get Android stuff working, can now read OS properties via javascript and phoenGap properties