[BZ#775849] add a proper storage layer
Submitted by Matthias Clasen
Link to original bug (#775849)
Description
Currently, the recipes and the other information is stored in a rather homegrown set of keyfiles. It would be much nicer to use a proper database.