Fix broken git status

Fixes broken git status. Abstracting out gitIgnore into a class. Leaving full implementation for later.

@devoncarew PTAL
nit: eol at eof