updated rails version to 4.0.4
Added Facebook login funcationality and tests to portfolio.