Plain implementation of "build" command.

Needs more work building per-ABI APKs, but it's a start, the
infrastructure is there.