pep8 tidy in eeagent
Change eeagent heartbeat to wait on container heartbeat.

This should be better than the eeagent sending messages to itself.