create test case for date types

modify the test/types.py module so that it tests that date types go in as bind params correctly for various DB modules and come out OK. particularly psycopg1 seems to be picky, also sqlite stores dates as plain text so parsing/formatting should be unit tested.