Jgarcia/register thread

### Before

We were checking that current thread was registered, that meant sogo_backend_init was called (because we were calling GSRegisterCurrentThread there)

### Now

We are checking that sogo_backend_init is called before others functions. If sogo_backend_init has not been called we show a warning and we'll unregister current thread at the end of the function.