Add gemspec, mv src/ lib/, fix syntax error in rails_writer