Implements a cleaner way to deal with invalid tabs
Implements a cleaner way to deal with invalid tabs

A test is performed directly in the `onActiveMinimapView` callback, the
minimap is then removed on non editor tabs.

atom-minimap/minimap,xndcn/atom-minimap