made remote manager available to ReefEventStateManager and update tests

this is first part of #859
use standard Java code formatting