Function not exists and strict warning

Fixing a function not exists, because ctools plugin files has not been
included in _os2web_esdh_provider_status().

Also fixing a strict warning "Only variables should be passed by
reference" in the same function.