add method to convert ODataQueryInfo to query string.
clean up consumer interface and naming.