Refactor support of unit test

Some code refactoring to follow coding standard.
Remove ww as we would test more often.
Move test from general build.
Remove target_os and target_image as we don't always build against them.
Just build "unit_test_apk" instead of "unit_test" and "unit_test_apk".