Add rails3 Gemfile

Also point the main Gemfile to rails4
Ignore all .lock files