Add proguard cache, enable incr resource merging

remove proguardExcludes key, it's unused
change proguard-inputs to use ProguardInputs instead of tuple
do not unpack apklib/aar if not declared by libraryDependencies