Add rubygems tasks
Fix gemspec following warnings from Rubygems Tasks
Ignore pkg directory