add test on checkin and idle connection test period option

`TestConnectionOnCheckout` of c3p0 is [expensive](http://www.mchange.com/projects/c3p0/#testConnectionOnCheckout).

So, I added options, `IdleConnectionTestPeriod` and `TestConnectionOnCheckin`.