Date, Database

Added new Date static methods. Prepping for a total redesign of the
Database\Query interface and refactor of other Database classes.