Tenants API Role Model

1. Added a role model and unit test.
2. Moved unit tests to a metatests package.
3. Rebased changes as per reviewer comments.

Change-Id: Id660ff4b5be7020e90786eed5d5405d78ca9737e