Use ruby for the build process

This is a major work in progress moving our building tools from make+scripting to using ruby and rake.
Wouldn't it be easier to take everything under vendor?

Ps. when plugins are gemified we need to remove most vendor stuff ( except the jruby one )