fix

Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
add debug logs

Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
libgpaste-core: misc bugfixes

Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>