I've made this a subtask because it is related to but not a core piece of enabling module-restart. This jira is for allowing more options on hotcode-replace failure.