refactored the server to use flags instead of os env. made the router route to funcs of a server type instead of global funcs.
added a create type for ws messages. added an object field to json messages. made the deadlines and chatflags maps in game have proper godip types for the keys. added skeleton for create game func. chained games and phases so that updated phases trigger updates in their games, and updated games trigger updates in their members. made the create game view show proper bits depending on logged in state of user.
made the game and user models send subscription data wrapped in a common.Subscription struct instead of work on a global DB object. removed the db package and moved its contents to the web package, making the web.Web type contain a db, and the functions to add subscriptions. refactored the ws controller func to handle this.