add mailgun
modify deploy.rb for cleanup oldbin pid
upgrade to rails 4.1.6
modify for BC