Ensures that asset array is always flattened before calling uniq.

Simple fix for an issue where in assets could be required/loaded more than once using sprockets.

The problem is exhibited here:
https://github.com/jejacks0n/duplicate_assets

(totally borked the first pull request)