Fix for issue #389

Allowing AAR to be built using the <genDirectory> config option.
Fix for #389

Q: why do we include the R folder when using aapt to package AAR but not APKLIB or APK?
It seems strange but I am not sure that it is an error.