use ThreadSafeFSM and other common elements that are now located in pyon.agent.instrument_fsm and pyon.agent.common
Merge pull request #748 from carueda/platform_use_ThreadSafeFSM

use ThreadSafeFSM