Convert project to gradle build system

http://tools.android.com/tech-docs/new-build-system