Separate creating the mudlet instance from accessing it.

In situations where something tries to access mudlet (the class), before
or after it is constructed or destructed, respectively, making it easier
to tell what is going on.
Fix memory leaks in the way pcre is used.