Refactor gen 1
This is simple stuff to bring it in line with PS's coding style.

Mod-specific rules are getting moved to mods/gen1/formats.js and
formats are condensed into one Custom Game format.
Fix crash in gen 1
(It wasn't updated for the stats refactor.)
Add mods/gen1/formats.js