Added test-wrapper for Distributed AMUSE on LGM
specify gateway using resource name, enable registry events in pilot