Make AsseticBundle works with AssetCache

I found out that kriswallsmith/assetic supports cache ,but this bundle doesn't work with it. So I made some change to make it works,that's useful for projects which has a lot of js/css files like mine.