Gradle build and test integration

Updated the project to use the gradle instead of maven as well as project files to use Android Studio for building and testing.  Also added junit tests.