Add gemspec and enable rake gems

Rake gem will build a gem with the C extensions pre-compiled, whereas
gem build will build a platform independent gem (by not compiling the
sources). I also found a bug in extconf.rb in the process.
Add another example to README
Add Travis badge to README