Fix copyright survey random query + simplify routes (Rails 2/3)

Rails 3 uses ActiveRecord::Relation, which doesn't have a public `rand` method. This alternative works on both Rails 2 and 3.

Also, I simplified and tested the routes file.