split dzy into separate shared library

libdzy.so not loading because of cross linking

Signed-off-by: Wayne Wolf <wayne.ron.wu@googlemail>
put dzy code in a separate static library

because of circular dependency in dzy and app code,
it's difficult to build dzy in shared library, and
linking app code without any issues.

The key point here is to use LOCAL_WHOLE_STATIC_LIBRARIES,
instead of LOCAL_STATIC_LIBRARIES

Signed-off-by: Wayne Wolf <wayne.ron.wu@googlemail>