Update MessageBox.cfc

Add the msg array to the returned struct used in the template to make it easier to customize the messages displayed - instead of simple displaying them by their default separator "<br>". An example would be to display them in bullet form: <ul><li>...</li></ul>.

Here's an example of a custom template which uses Twitter Bootstrap:

<cfscript>
	switch( msgStruct.type ){
		case "info" : {
			local.cssType = "info";
			break;
		}
		case "error" : {
			local.cssType = "danger";
			break;
		}
		default : {
			local.cssType = "warning";
		}
	}
</cfscript>
<cfoutput>
<div class="alert alert-#local.cssType# alert-dismissable">
	<button type="button" class="close" data-dismiss="alert" aria-hidden="true"></button>
	<cfif local.cssType EQ "danger">
		<h4 class="alert-heading">Error!</h4>
	</cfif>
	<cfif arrayLen( msgStruct.messageArray ) GT 1>
		<ul>
		<cfloop from="1" to="#arrayLen(msgStruct.messageArray)#" index="position">
			<li>#msgStruct.messageArray[position]#</li>
		</cfloop>
		</ul>
	<cfelse>
		#msgStruct.message#
	</cfif>
</div>
</cfoutput>