Close data sources when we're done with them

C3P0 data sources can have resources that need cleaning up.  This
makes DataSourceFromConfig return a Managed data source that cleans
itself up.