Remove hidden files

There were a lot of Mac OS X hidden files in the original commit. This removes them and adds a .gitignore to prevent them from being added again.