Update gemspec to allow Rails 4, add a to_s to deal with changes to mode...

...l_name