Add .core files to gitignore.

Now that we're doing unit tests during compilation, ignore core files so
they don't get picked up by git for commits.