rails 4 support

This way it seems to work with rails 4 and ::Rails.application.assets.find_asset seems to be compatible with rails 3 too (I tried also with a real Rails 3.2 app)