Add Result#assumptions

Add method to the Result class that returns an array of the assumption
classes used when analyzing the query.