exclude inc and local directories from indexing

this closes CPAN-API/metacpan-web#1239 and CPAN-API/metacpan-web#1411