Add tasks for building/releasing gem.

Thanks to bundler. Also let git ignore final artifacts.