Functional properties of rearrangement invariant spaces defined in terms of oscillations