Add support for kinetic effect while dragging.

Only dragpan interaction is supported for now.

The kinetic effect use the maths below (thx @twpayne):

Rate of decay (number, must be negative) = α
Minimum velocity (pixels/millisecond) = v_min
Initial velocity (pixels/millisecond) = v₀

Velocity at time t (pixels/millisecond) =
    α⋅t
v₀⋅ℯ

Distance travelled at time t (pixels) =
   ⎛ α⋅t    ⎞
v₀⋅⎝ℯ    - 1⎠
─────────────
      α

Duration of animation (milliseconds) =
   ⎛v_min⎞
log⎜─────⎟
   ⎝  v₀ ⎠
──────────
    α

Total distance travelled (pixels) =
-v₀ + v_min
───────────
     α

Easing function =
   ⎛ α⋅duration⋅t    ⎞
v₀⋅⎝ℯ             - 1⎠
──────────────────────
     -v₀ + v_min
Activate kinetic effect by default
Add a removePreRenderFunction method to ol.Map

This will remove the pre-render function from preRenderFunctions_ array if
found.
Add a frameState property to ol.MapBrowserEvent

so that we will be able to retrieve the current center of the view2d from the
framestate in the dragpan interaction.
Stop current kinetic animation on DOWN events
Kinetic now returns directly the pre-render function

instead of returning the kinetic easing function only.

(thanks @fredj)
Get rid of binarySelect to find the first point.
Renaming to be more consistent with ol3 style

s/v_0/initialVelocity/
s/v_min/minVelocity/
Set kinetic getDuration instance method to @private
Merge pull request #164 from bbinet/kinetic

Add support for kinetic effect while dragging
Detect unused goog.requires
Remove unused goog.requires
Rename modules for support detection
Detect missing goog.requires
Add missing goog.requires
Add missing requires to examples
Fix requires relating to recent commits
Use namespaces for tests

With this commit test files provide namespaces (using goog.provide). This fixes the issue reported by @bartvde where goog objects cannot be used in Jasmine "describe" functions. It also frees us from having to add script tags for the test files in test/ol.html.
Merge pull request #169 from twpayne/check-requires

Fix use of goog.requires
Missing var's in a test file