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.
I decrement target to 19 instead, since API 20 is Wear / Android L (it is a mess).