Fix confilcts with other Gems

If we use remotipart with wicked_pdf, the javascript returned by create.js.erb won't be executed after the request.

When using alias_method_chain, we let another gem to be able to override the "render" method on ActionController::Base.