fix configuration of maxIdleTime, maxConnectionAge, and idleConnectionTestPeriod to match c3p0's configuration (use seconds, not milliseconds)
also fix bug in maxIdleTime setting