fix config manager
remove database specific code from ConfigManager
more consistent placeholder references
make isPostgreSQL check URI instead of metadata
use prepared statement instead of string interpolation
Merge pull request #447 from metamx/fix-configmanager

Move db specific things from ConfigManager into DbConnector