AMBARI-5748. Improve handling of groupmod errors and provide ability to skip (aonishuk)