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.

Fixed #270