refactored most usages of sys.platform in tasks.py into is_osx,linux,windows
refactored most usages of sys.platform in tasks.py into is_osx,linux,windows

Vbitz/Engine2D,Vbitz/Engine2D,Vbitz/Engine2D,Vbitz/Engine2D,Vbitz/Engine2D