Added a custom event trigger to wijax loader.

@misterbisson This allows a much more elegant solution to this issue:

https://github.com/GigaOM/legacy-pro/issues/2929

See: https://github.com/GigaOM/gigaom-plugins/pull/1756