Improve tabline + buffer_min_count behaviour

Use BufEnter and BufUnload in place of CursorMoved.

Fixes #479
Merge pull request #643 from maek/master

Improve tabline + buffer_min_count behaviour