Code consistency/style, Rails 4.0.2, update dependencies