DRY'd scope creation.
Added Rails 4.0.0.rc appraisal.