moving code from tokaido-build

work in progress - do not merge it yet

[tokaido-build](https://github.com/tokaido/tokaido-build) was build before `autolibs` - it will be simpler to move the code back to RVM - especially that there are some build issues for 2.0.0 rubies [`dyld: Symbol not found: _Init_encinit`](http://bugs.ruby-lang.org/issues/7948).