Fix memory leaks in the way pcre is used.
Remove additional string copy from QByteArray.

Don't leak the string that defines the regex and since QByteArray's are
null terminated and contiguous in memory, we don't need to copy them.
Merge branch 'release_31' into development

Fix memory leaks in the way pcre is used.
Merge branch 'release_31' into development

Remove additional string copy from QByteArray.
Make mpConsole in Host into a QPointer.

QPointer is set to null when the thing it points to is deleted.
Don't access mpConsole if it is null.
Merge branch 'release_31' into development

Make mpConsole in Host into a QPointer.
Don't access mpConsole if it is null.
Make HostManager a member of mudlet (the class).

This approach, rather than using a global singleton, makes it so that its
lifetime is better understood.
Merge branch 'release_31' into development

Make HostManager a member of mudlet (the class).
Use auto instead of typedefs for iterators.
Merge pull request #172 from ahmedcharles/auto

Use auto instead of typedefs for iterators.
Add include for std::cout.
Merge pull request #175 from ahmedcharles/iostream

Add include for std::cout.
Remove some dead code.
Merge pull request #176 from ahmedcharles/dead

Remove some dead code.