Added an efficient version of 'nub'

http://www.mail-archive.com/haskell-cafe@haskell.org/msg106934.html for more information, but the code itself is pretty straightforward.