ApiDiscoveryService: Move refactor, interface should be in plugins and not in cloud-api

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
APIAccessChecker: Make it check based on role type and not user

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>