fix leaked greenlet
OOIION-968: several more adjustments while running integration tests against
actual RSN endpoint while also doing changes to reflect adjustments in interface
specification (eg platform port "is_on" attribute renamed to "state") so we keep
our simulator also up-to-date.
merge upstream/master
Merge pull request #1193 from carueda/platform_agent_OOIION-968

OOIION-968