Adding paper clip and upgrade to rails 4.0.0