Modules of which 'unstable' is false should have version in release version

I think we need check if stable aidl interface should have version
As-is: only vintf module is enforced to have version in release version
To-be: every stable module must have version

Also check if "unstable" and "stability" should be exclusive.

Moreover, add tests for build, and treat test env as non release
version

Bug: 133526962
Test: m nothing(soong test)

Change-Id: Iba54625110b283b7980f858ee848e01508bcfb23
Merged-In: Iba54625110b283b7980f858ee848e01508bcfb23
(cherry picked from commit a82bfe1bb13a9db08ed7144216c04df56e9c7fc7)
2 files changed