add restart/shutdown support for marionette
add marionette restart/shutdown tests for sessionstore