Clean-up and rewrite gemspec-related code

Remove dependency on Jeweler. Manually create gemspec.