Building now requires no manual steps

- added a run script phase which configures discount
- added the list of generated files of discount to gitignore