Fixed #20453 -- inspectdb test failure on Oracle
Fixed #20015 -- date__startswith('2008') fails under Oracle

Removed the explicit casting of strings to dates
Fixed #20012 -- test_year_lookup_edge_case fails under Oracle

Used formatted date instead of datetime object for the end of the
year range, as the datetime object loses fractions-of-seconds when
inserted into the db.