Generate an aar file using gradle

This pull requests refactors the AndroidStudio project so it's possible to generate a .aar file that can be published to a central repository like the Maven Central Repository o JCenter. It renames the "app" directory to "library" and changes the build.gradle and AndroidManifest.xml files.