[patch] String#blank? regexp wrong, breaks Text type coercion

String.blank? will return true if there are sequential newlines. Regexp is /^\s*$/ when it should be /\A\s*\Z/. This causes type coercion of Text fields to return nil if this pattern is contained in the field. Patch contains a spec to detect the problem and the (tiny) fix.