Split cook_recipe() in smaller functions.
Replace deprecated optparse with argparse.
Use logging instead of print everywhere.
Respect PEP-0008 a bit more.
Merge remote-tracking branch 'linkmauve/master'