Ignore changes when a .lessignore file is present

When a .lessignore file is created changes are ignored until it's
deleted. This can be helpful when rebasing with git (git gets confused
if something is changing files in the working directory during a rebase).