added detail to tenant controller

added detail query to tenant controller, along with the view all tenant
view, and query in the domain.