Added process spawn config by reference support to container

Fixes the issue spawning a platform agent with large config.
Usage: 
  container.spawn_process(name, mod, cls, config = {'process':{'config_ref':'resources:%s/agent_spawn_config' % res_id}})