Ignore main sections of library code
Merge pull request #827 from stefanv/coveralls_nomain

Ignore main sections of library code when checking coverage