Add windows support

Added directory separator `DIR_SEPARATOR` constant and os constant `IS_WINDOWS`.
Replaced unix separator `/` to new separator constant.
Added some functionality to checking Windows directories.