Small modifications to the Flask generator.
Started upgrading Django generator to use Menu properties the same way the Flask generator does.