Zentyal/sogo — pull request #22 by blaxter (2014-07-02 10:39:05+00:00)
Title: 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.