Update hostgroups_controller.rb

Adds pagination and descendant hosts