Added div styles to div hostlist. Improved table class
Added elif to get selected hosts from get request
Added get_selected_hosts function to return an array with selected hosts
Modified javascript onclick event handler in buttons.