* main_db.ml: handle -o for -db_of_graph_code and generate json by default in codegraph -gen_derived_data

This should solve #88