Invalidate project cache if .projectile is modified

I believe this fixes #182, but should probably have tests.