Adding ignore files.

Added rules to ignore output of compilation and adding a missing documentation directory.