Tidy up Ragel generation

Move Ragel code to ext, compile to vimprint/ragel, move the tests
accordingly, and add Rake tasks for compiling and cleaning the generated
Ruby files.