Added an efficient version of 'nub' as per the discussion at http://www.mail-archive.com/haskell-cafe@haskell.org/msg106934.html