Changed curl:search rake task to require only user id, token and search term
Removed ActiveRecord requirement
Fixed tests after ActiveRecord is removed