Adding .gitattributes and .gitignore files

This is in preparation for the migration to git.
Fix failing test
Merge branch 'Beta'