Tenants API models and unit tests

1. Added tenants api models and unit tests.
2. Moved unit tests to metatests package.

Change-Id: I331ad01bfd64f00501f90241504d7b7cc4bbfc92
Merge "Tenants API models and unit tests"