Configure project for Gradle build system.

+ Fix Manifest merger error for instrumentation in sample application.
Quick fix data type mismatch to run sample application.

+ TODO: Review fix.