Dispatch event when initialized

Regarding https://github.com/t4t5/sweetalert/issues/124
Made an event "swal:init" that you can listen to in case you want to display the modal on document load, this way you can just put it in 
document.body.addEventListener("swal:init", function() { swal("Head", "Body") })