added mri_21 to platforms list
workaround for class reloading in a multithreaded environment
fix bullet/mongoid issues