Adds Support for Rails 4, config option to silence redirector SQL queries, handles redirecting with a Port.