Define Safe Element Gobject and refactor Unlocked DB
Define a GObject element Safe Group & Element, continuing the program started in !313 (merged). This turned to require a refactor of almost all components that interact with unlocked database.
The opportunity was taken to close issues like #269 (closed) and leave the groundwork for a simple implementation to !290 (closed).
Edited by Maximiliano