added bundler support, ported to ruby 1.9 and removed unused module