Mock REST endpoint changes for tenant isolation in definitions - 

Fixes https://issues.apache.org/jira/browse/STRATOS-772 except for user mgmt mocks