Updated example to Android Studio/Gradle plugin 1.0 and attached latest version of SDK with minor bug fixes. Sample version now is in line with the SDK version it uses.