Aberdeen picked up their first league win since the opening day of the Scottish Premiership season with a dominant 3-0 victory at Partick Thistle.