Create Format.php

Model for creating, managing, and applying formats in Gatherling. 

Includes a format editor, and functionality used for the deck validator tool that verifies that a deck meets all the conditions of a given format.