Revert "Revert "Fixed a memory leak when a connection is closed the topics should also be removed if they are empty""

This reverts commit c86fdadcdec7ad59724502ca4bd50d4cc4986980.
[WAMP] Added autoDelete to Topics