kill_tasks: Use the activity manager to force-stop tasks

This is more reliable than the previous method. See

    http://developer.android.com/tools/help/adb.html#am

for available commands.