Explicitly require yaml in spec/spec_helper.rb
Make define_nilify_blank_methods thread-safe, just like underlying rails define_attribute_methods [Fixes #15]