The Dark Blues were deserving winners at Tannadice - the first away win at Dundee United since 2004.