Keep flags  in a an assoc list.

Signed-off-by: Magnus Therning <magnus@therning.org>
Generalise the string pair parser slightly.

Let it take the character to split on.

Signed-off-by: Magnus Therning <magnus@therning.org>
Move flags to per package specification in add.

First step towards moving flag specifications to the package specifications
(i.e. package name and version) when adding a package.

Signed-off-by: Magnus Therning <magnus@therning.org>
TEMP!

Extract flags from arguments, database, and then combine them.

Signed-off-by: Magnus Therning <magnus@therning.org>