buxtond: Fix consistency of notification lists

Appending an item to a list doesn't modify it's first element
but removing an item may modify that first element. Thus
taking it into account in `unregister_notification` does matter.

Signed-off-by: José Bollo <jose.bollo@open.eurogiciel.org>
shared: Fix computation of written size

When write returned -1 with a errno==EAGAIN, the
written size was decremented by one, what is wrong!

Signed-off-by: José Bollo <jose.bollo@open.eurogiciel.org>
Rename pkgconfig files
core: Common key computing for notifications

This change adds a common routine for computing the keys
used by notifications. That done, two improvements are added:
1. a 'new-line' character is inserted betwen group name and
key name, it will allow to distinguish the pair ("blabla", "bla")
from the pair ("bla", "blabla");
2. a check is added to produce an error if the key is not valid.

Signed-off-by: José Bollo <jose.bollo@open.eurogiciel.org>