db: Use group and key name for memory key
db: abort on memory allocation failures
core: Add abort if buxton_array_add fails
security: Abort on memory allocation failures
db: Don't put actions in asserts as they can be removed
shared: Abort on daemon side allocation failures
shared: Abort serialize

For the database serialization functions, abort on memory allocation failure and
exceptional conditions.