Fix asset pipeline integration and drop Rails 3.0 support.