Update lib.php

Adds:

+ Time function to force Eastern Standard Time
+ Smart theming
+ IP Address change protection
+ Session Timer
+ Google Analytics
+ Gatherling.com Header and Logo
+ Changes poorly named Steward terminology to Series Organizer
+ Card image pop ups are changed to Wizards Gatherer database
+ moved database access functions to Database.php model
+ Format Editor drop menu's 
+ redirect function