fix up controls and do_action
return details from API call
fix URL in NagiosAPI
add curl timeout