Round the note size up correctly.

ELF notes are 4-byte aligned, this fixes the size, which may not be a
multiple of 4, to round them up correctly. This stops pkg crashing on
armeb.
Print failed SAT rules.
Human readable description of SAT rules.
Fix siphash key for Cuckoo.
Remove dead code
Use pkg_printf where possible
Fix plist test
Remove useless code
Make struct pkg a proper structure
Adapt pkg_get
Adapt pkg_set
Remove dead code
Finish adapting pkg_get
Adapt pkg_is_valid
Finish converting struct pkg into a proper structure
Last minutes fixes
Reduce the number of call to hashes by caching debug_level
Upgrade db to know the unique id is the package name now
Fix stupid bug
Remove debug printf