Check if a path is ignored

Users can now check if a file is ignored by git by running ```$repo->path_is_ignored($file)```.