updated for titanium 3.1.1.2 and add gitignore for generated packages