App: Quicker build script, typescript references, temp remove most of phonegap definitions