Move coverage script to Makefile

Also includes some cleanup of unnecessary files in .gitignore which should belong
in a global .gitignore.
Merge pull request #503 from kevva/coverage

Move coverage script to Makefile