vndk-def: Refactor BannedLibDict and add unittests.

This commit refactors BannedLibDict and add 3 unittests.

Test: ./tests/test_banned_libs.py
Change-Id: I8a5b67e8ca4135a81e1f7acb66281d3d1b8bffed
3 files changed