Add rails_best_practices gem and remove some trailing spaces in views