Add gemspec and make rails 3 happy