Generate list of actions at build time

... to avoid having to scan the DEX file at run time. Accessing
(and then closing) the DEX file at runtime causes segfaults
on some versions of Android.
Merge branch 'avoid-dex-scan'
Fix apktool invocation to work on windows

Also clean up the exploded APK directory a bit
Fix ant warning
Merge branch 'fix-apktool-windows'