Fix issue #3

As described in #3, the main object can't be deleted since a mutex which live in its d-pointer prevent the deletion. Because of that, application using CuteLogger never stop.

This simple commit fix the error by unlocking the mutex just before deleting the d-pointer.