Adding a way to display a message with multiple lines

- in the escapeHtml method, I'm checking if the passed value is an array and if it is we make a loop to display each line
- added polyfills for Array.isArray and Array.forEach - if this plugin is targeting newer plataforms, these can be removed

refs #24