Update .gitignore and add ignored file
Further trim .gitignore

Use out-of-tree building to avoid a huge .gitignore