Detect OGR 'Date' Type, Attempt To Fix Query

This PR is an attempt to fix bug #71, though I've not tested it extensively. It checks with the DataProvider to see if our `from` or `to` fields are of type 'Date', and if so, hacks the stringified version so that our SQL query works properly. Should not have any effect on 'Character' fields.