Migrate build.gradle to gradle 0.9

See http://tools.android.com/tech-docs/new-build-system/migrating_to_09
Merge pull request #15 from rndstr/patch-2

Migrate build.gradle to gradle 0.9