Implement addon for hiding lines

This is a simple addon that keeps track of hidden lines. Also includes a fix that lets VIM mode understand that some lines are hidden.