added method to fetch any kind of query from pg db
added method to fetch any kind of query from pg db

TomConlin/dipper,monarch-initiative/dipper,monarch-initiative/dipper,monarch-initiative/dipper,TomConlin/dipper