AssetManager now ignores subsequent dependencies if there are duplicates.

closes #1185