[library] Finish scroller when reseting state

Fixes crash when adapter gets replaced/removed while performing a fling.
Merge pull request #29 from eveliotc/stop-scroller

[library] Finish scroller when reseting state

Fixes #29
[build] Update to gradle 1.8
[build] Use Gradle Android 0.6.+
[library] Keep scroll position for notifyDataSetChanged in horizontal orientation
Merge pull request #33 from frogermcs/master
[build] Update build files to latest Gradle
[library] Fix javadocs errors in TwoWayView
[library] Replace compareTo() calls with simple comparisons
[library] Remove unnecessary semicolon in TwoWayView
[library] Supress 'unused' warning on TwoWayView's public API
[library] Simplify a few conditional statements
[library] Simplify forceLayout() loop on scrap views
[library] Use measured width in measureWidthOfChildren()

Fixes #60
[library] Check current SDK version instead of target SDK verion.

Fixes #23, crash on 2.3 devices.
[library] Fix end EdgeEffect being offset by padding

Fixes #31
[library] Don't handle touch events when adapter is null

Fixes #19
[library] Remove redundant initializer in TwoWayView

Fixes #50
[build] Add support for uploading Maven artifacts to Sonatype
[library] Remove unused class