Update GTrendsManager.rb

Added toArray method in GResult class and getResultAsArray method in GTrendsManager class