Integrating QL option into RunQueriesThrift and RunQueriesBaselineThrift