Skip the whole test when the version doesn't match

from @eitoball's comment: https://github.com/amatsuda/kaminari/pull/449#issuecomment-26684361
count + distinct: true won't work under AR 3.0
get tests to run for sinatra_*