.blank? isn't part of core ruby

Currently this library uses String.blank? in a few places, which isn't part of core Ruby, and causes this error:

```ruby 
"foo".blank?
NoMethodError: undefined method `blank?' for "foo":String
```

I replaced it with the equivalent:
```ruby
foo.nil? || foo.empty?
```