Determine whether a request is made by a robot. From http://stackoverflow.com/questions/5882264/ruby-on-rails-how-to-determine-if-a-request-was-made-by-a-robot-or-search-engin
request.env["HTTP_USER_AGENT"].match(/\(.*https?:\/\/.*\)/)