Convert to gradle build system
Add some TargetApi annotations to appease lint
Add in SDK manager Gradle plugin