add dataSource config util

changed HibernateTool to use it

fixes #42
Merge pull request #43 from metridoc/data_source_config_util

add dataSource config util