[WFLY-3508][BZ1104730], add parameter StateValues for new ErrorState.

https://issues.jboss.org/browse/WFLY-3508
add parameter StateValues for new ErrorState in order to throw proper exception from ErrorState.java:
// Throw an exception if the mode is non-interactive and there's no next state.
if ((stateValues != null && !stateValues.isInteractive()) && nextState == null) {
    throw new AddUserFailedException(errorMessage);
}
Thus, we can obtain expected exit code 1, otherwise stateValues is null by default