Let the user define whether a mem event listener is required for the domain to run
Merge pull request #198 from tklengyel/event_listener_required

Let the user define whether a mem event listener is required for the dom...
Lots of clang warning fixes