Add custom logger and migrate to gradle

The first thing that I have done is to migrate this project to Gradle, but with the same structure 
I have created a class called ADALog that print every log of the library and is able to be configure with a flag to print no log.
On build.gradle I have implemented a task that export library to .jar, because by default it is exported to .aar