updates to rails 4, updates gems
updates template - rails 4 style