Add Rails 4.0.0 sample app.
Build on all sample apps and skip Rails 4.0.0 on Ruby 1.8.7.