Fixing use of deprecated `serve_static_assets` config option

As of Rails 4.2.0, `config.serve_static_assets` is deprecated, and it will be removed in Rails 5. The new option is `config.serve_static_files`. This patch just checks to see if the latter method exists and calls it instead.