major AST Rewriter performance gain

major performance gain for Ruby <= 1.9.3 by changing stack usage in
a code hotspot from `push/shift` to `unshift/pop`.

Also, change racc gem from 1.4.10 back to 1.4.9 for ruby 1.8.7
compatibility.