Issue aar R.java

Fix the creation of the R.java using multiple aar or aar in combination with apklib's

Work done by ialbors & myself