Rails Secuirty fix

 * Upgraded Rails to 4.0.3 (Security fix).
 * Upgraded gems by rebuilding Gemfile.lock file.