Removes scroll methods and use updateScroll instead
Adds emissary module and includes Emitter in MinimapEditorView

Now the `MinimapEditorView` class emit a `minimap:updated` event when
the minimap content
have been redrawn.
Handles MinimapViews destruction at the package level

As we keep a map of views we also have to remove them
from the map on pane destruction.
It also makes the package more consistent as it’s already managing
views creations.
I was too quick when refactoring that part

The mouse wheel events have to be send to the editor view.
Extract benchmarking and logging in a mixin

This clean up the code a bit and we can disable the logs and
benchmarking when not in dev mode.
Extract setting the minimap's editorView in a setter method
Moves buffer events registration into the MinimapEditorView
Fixes tests

Seems like we receive the pane `destroyed` event several time when
running test, raising an exception when trying to destroy an already
removed view.
Removes unnecessary specific unsubscribe in destroy
Updates minimap scroll on minimap content changes
Registers changed events on the tokenizedBuffer

This way we make sure to be notified when the tokenization
ended.
Adds Debug mixin in MinimapView too
Moves miniScrollView affectation

There’s no reason the minimap scroll view changes over time as we
changes its content. We can store it once after creation.
Removes attach method

The name was confusing, nothing was attached in the DOM.
The code belonging to attach is now part of the constructor.
Style changes

Makes the code a bit more coffee script friendly
Extracts activation and deactivation in specialized methods

It’ll be useful in incoming commits
Renames getActiveEditor as storeActiveEditor

The purpose of the change should be obvious here as
`getActiveEditor` wasn’t actually used to retrieve the editor.
Replaces call to getActiveEditor

The indent is messed up, waits for the next commits for details.
Adds methods to test the active tab and minimap presence
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.