function addServerMessages(messages) {
			var i, message, severity, length;
			length = messages.length;
			for (i = 0; i < length; i++) {
				message = messages[i];

				if (message[_messageTextKey] && message[_messageSeverityKey]) {
					switch (message[_messageSeverityKey]) {
						case "warn":
							severity = "warn";
							break;
						case "success":
							severity = "success";
							break;
						case "info":
							severity = "info";
							break;
						case "error":
							severity = "error";
							break;
					}
					sendMessage(message[_messageTextKey], undefined, severity);
				}
			}
		}
add a indefinite number of messages that a backend server may have sent as a validation result

@param {Array.<object>} messages