Calls flatten on asset array 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