registerApp.sh added for usage in staging to add an application the substantiator app using curl, made current values optional in AppMachineState