Adding check for MongoDB server version

[related mongoid/mongoid#2915]
[related mongoid/mongoid##2906]
adding regression test for buildinfo check on refresh