Update deployment script

- only deploy automatically for pushes to master branch
- automate phoneGap build (create package, authorize, unlock signing
key, upload package)
Rename hide class

rename to .off-screen for extra clarity
Move assets to subfolders

Move javascript and css files to subfolders