Reorganizing samples to a more Gradle-friendly structure and moving the Gradle build files to the right places. The samples can now be built using Gradle and easily imported into Android Studio.