Add debug build, and turn proGuard on for releas.
Factor fling detection out of DisplayActivity.
Add .idea to Git repository.