Make the database wrapper correctly handle timezone aware datetime objects
Maintain the query count if we are using a debug cursor
Fall back to default if we read a NULL from a non-NULLable field (this is more consistent with Django+mysql behaviour if you do the same