AREL values passed to #to_sql not handled correctly on AR-3.0 (fixes #365)
map datetime / timestamp / time
remove date from time type
minor code cleanup for DB2 adapter