Add images to precompile option for rails 4.0.

Rails 4.0 does not precompile non-JS/CSS assets in `vendor` anymore. They need to be added to precompile option by the engine.