Changed the message collection type from ArrayList to Set. This way we do not require or suggest any specific order of messages.
Merge branch 'feature-message-sets' into develop