Refactoring and update android plugin

Hello Paul,

I edited your script some trivial points.
With those changes, I think your code more useful and concise.
The improved points are following:

- Use gradlew instead of downloading gradle distribution.
- adb wait-for-device instead a script
- Upgrade to android build tool 0.8 and gradle 1.10

If you think them useful, please merge them.