Update to Rails 4.1.4
Monkey patch escaped repository URLs

Rails 4.1.2+ won't allow slashes in resourceful routes.

See rails/rails#16058
Only display separator line when there are additional repositories
Decouple Repository#refresh and #generate_history

This enables to regenerate repositories in the right order, i.e.
recovering deleted formulae before generating the history.
Simplify getting the ETag for a formula page
Add Rails 4 binstubs