Update Gemfile to rails 4.0.1
Use https in tests
Add attr_accessible
Use http
Move setup

* move V1MarshaledDepedencies
Move method outside block