Add a nose config file to check coverage in tests

Also adds appropriate files to .gitignore.
Merge pull request #176 from theaquamarine/coverage

Add a nose config file to check coverage in tests