[#1125] Adds hgignore when generating new app

see #1125