Os module test

I've added specs to test all methods in OS module.
I've redefined RUBY_PLATFORM constant(that is not very good).It allows to test module work correctly independently platform where tests run. Of course, after tests constant value set back.