Use bundler for gem tasks

Ruby gems normally use this a `VERSION` constant. These changes use this idiom and use bundler vs. commands for the rake gem tasks.