Ignore *.d, *.o, and /lib
Merge pull request #900 from nurse/ignore-d-o-lib

Ignore *.d, *.o, and /lib