[build] Port build system to Gradle
[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
Merge branch 'master' of git://github.com/lucasr/twoway-view