Added logging with cs-webdblogger.
Added logging with cs-webdblogger.

/cs_sessionDB.class.php:
	* MAIN:::
		-- new vars for logger & logCategory
	* CALL EXCEPTION HANDLER FOR LOGGING ERRORS:::
		-- sessdb_table_exists()
		-- load_table()
		-- is_valid_sid()
		-- sessdb_read()
		-- sessdb_write()
		-- sessdb_gc()
	* DEBUG LOGGING:::
		-- sessdb_open()
		-- sessdb_close()
		-- sessdb_write()
		-- sessdb_destroy() (only when one gets destroyed)
	* sessdb_gc():
		-- allow SESSION_MAX_TIME and SESSION_MAX_IDLE constants to define
		how long sessions will last.
		-- conditionally excludes the current session
		-- actually executes the delete statement, along with logging if
		something was deleted.
	* do_log() [NEW]:
		-- does generic logging
	* exception_handler() [NEW]:
		-- calls do_log() to log exceptions and optionally throwing them.

crazedsanity/cs-content,crazedsanity/cs-content