Port to ruby 1.9.3 and use Bundler

Signed-off-by: Aki Saarinen <aki@akisaarinen.fi>