loopfilter: minor refactoring
add .hgignore