Add rule for ignoring object files
Add include for getcwd function

In determining the relative path to a file, the CodeFile class
makes use of the getcwd library function in <unistd.h>  Somehow
this header file was not included in previous commits.