update gems
fix brakeman warning
update Travis and Capistrano config