Fixes issue where duplicate assets can be required with sprockets.

- addresses the problem by calling flatten on asset array before calling uniq.
notes fix for duplicate assets being allowed with sprockets.