Update maven project and change library packaging to aar

Android Maven Plugin version 3.8.2 now fully supports aar packaging. I've updated the maven project to produce an aar artifact.