Make use of sql database in generator.py. Keys, Zones and Zonefile. Signed-off-by: aoh <aoh@lysator.liu.se>