Updated gradle sample project

I updated the example to work with the latest gradle android plugin and Android Studio. I am opening a PR to let @yDelouis review, since i am not a daily gradle user and i am not 100% sure that everything is right.
The targedSdkVersion should not be higher than the compileSdkVersion so you should set this to 20 too.