add apk-clean target

Resurrect abandoned #3279 with a few tweaks.

@davilla